-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/vm: implement full EOF suite [WiP] #6215
Conversation
* core/vm: Define 0xfe opcode as INVALID * core/vm: Remove opInvalid as opUndefined handles it Co-authored-by: Alex Beregszaszi <[email protected]> # Conflicts: # eth/tracers/internal/tracetest/testdata/call_tracer_legacy/inner_throw_outer_revert.json
* core/vm: break loop on any error * core/vm: move ErrExecutionReverted to opRevert() * core/vm: use "stop token" to stop the loop * core/vm: unconditionally pc++ in the loop * core/vm: set return data in instruction impls
# Conflicts: # core/vm/analysis.go # core/vm/contract.go # core/vm/evm.go # core/vm/instructions.go # core/vm/instructions_test.go # core/vm/interpreter.go # core/vm/jump_table.go # core/vm/stack.go
@AskAlexSharov here you can find some comments on places in code that triggered our attention. We tried to stick to Erigon logic. Feel free to provide any feedback and we will catch up. Thanks |
…ithub.com/ledgerwatch/erigon/common”
My force-push here drops the nearly-latest two commits that together uselessly add, then remove a configuration condition for Shandong that really belonged over here. |
Please merge upstream so that there are no conflicts. |
|
Done |
Co-authored-by: Andrew Ashikhmin <[email protected]>
@yperbasis I will try to work on the remaining stuff at original go-ethereum PR or fetch any changes they do, whichever comes first. |
Closing in favour of PR #6382. |
This PR fetches the changes done on ethereum/go-ethereum#26133 for EOF suite, which community aims to include at Shangai's fork.
The upstream's work is not finished yet, so this PR will remain open.
This PR has been created in order we get feedback on it, have progress on Erigon with regards EOF stuff and test them.
EIP-5450: EOF - Stack Validation(WiP lightclient branch)We tried to keep the code changes similar to upstream's PR, without changing the code at Erigon side, or bring in more changes than needed from upstream.
At this point tests are
passing(after we fix a short glitch with regards Shandong's next PR, which make the test fail) and we are able to sync with Shandong testnet.Please provide feedback, with changes would you like us do.