This repository was archived by the owner on Jul 5, 2024. It is now read-only.
feat: add OOG error handling for CALLCODE, DELEGATECALL and STATICCALL to ErrorOOGCall#368
Merged
lispc merged 5 commits intoFeb 6, 2023
Conversation
7ad9d96 to
a39c246
Compare
…and `reversible_write_counter = caller_reversible_write_counter` in STOP step.
Contributor
Author
|
Fixed the last step (STOP) of I also update these fixes to previous PR of Hi @han0110, I have a simple question about |
Contributor
Yes, just setting it to non-zero value for testing, and |
lispc
reviewed
Feb 6, 2023
| .tx_access_list_account_read(1, callee.address, is_warm_access) \ | ||
| .call_context_read(1, CallContextFieldTag.IsSuccess, 0) | ||
| # fmt on | ||
|
|
Contributor
Author
There was a problem hiding this comment.
Fixed to fmt: on in both line 169 and 260 in 94fe42d
…-delegatecall-staticcall-oog-errors
lispc
approved these changes
Feb 6, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #360
Circuit PR privacy-ethereum/zkevm-circuits#1127
Summary
Merge
ExecutionState.ErrorOutOfGasCALLCODE,ErrorOutOfGasDELEGATECALLandErrorOutOfGasSTATICCALLintoExecutionState.ErrorOutOfGasCall.Update both spec and test code for OOG call.