Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from zama-ai/refactor/remove-optreq
Browse files Browse the repository at this point in the history
refactor: remove optimistic require
  • Loading branch information
immortal-tofu authored Mar 11, 2024
2 parents 96021a8 + 893422c commit 4fe2ade
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/vm/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) (
}

if err == errStopToken {
_, span := otel.Tracer("fhevm").Start(ctx, "EvalRemOptReqWhenStopToken")
err = fhevm.EvalRemOptReqWhenStopToken(in.evm.FhevmEnvironment())
span.End()
err = nil // clear stop token error
}

return res, err
Expand Down

0 comments on commit 4fe2ade

Please sign in to comment.