-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
WIP mega eof #29518
Draft
MariusVanDerWijden
wants to merge
44
commits into
ethereum:master
Choose a base branch
from
MariusVanDerWijden:mega-eof
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,560
−216
Draft
WIP mega eof #29518
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c23f8af
core/vm: add eof container
lightclient e8953bd
happy lint, happy life
MariusVanDerWijden 9aa46f3
core/vm: add optional containerSections
MariusVanDerWijden 9ca1532
core/vm: add optional containerSections
MariusVanDerWijden e5724b2
core/types: implement InitCodeTransaction for EOF
MariusVanDerWijden 4723974
core/vm: implement JUMPF, added disallowed opcodes
MariusVanDerWijden 1e381a3
core/vm: started work on eofcreate, safety push
MariusVanDerWijden 319d022
core/vm: started work on eofcreate
MariusVanDerWijden ed5b362
core/vm: implement dataload opcodes
MariusVanDerWijden 61aa4c1
core/vm: implement dupN, swapN
MariusVanDerWijden 1762ea3
core/vm: refactor using min
MariusVanDerWijden e1e0a7a
core/vm: implement opReturnDataLoad
MariusVanDerWijden 6e16cf5
core/vm: implement opExt{Call,StaticCall,DelegateCall}
MariusVanDerWijden 5eac46f
core/vm: added opcode names
MariusVanDerWijden 9640e5f
core/vm: add opcodes to the jumptable
MariusVanDerWijden 7e7517d
cmd/evm: implement evm eofdump
MariusVanDerWijden 22f49b5
cmd/evm: implement evm eofdump
MariusVanDerWijden b537b7d
cmd/evm: fix tests
MariusVanDerWijden fc4f265
cmd/eofdump: move eofdump to own subcommand
MariusVanDerWijden e677308
core/vm: fixed bug in marshaling
MariusVanDerWijden 9443916
core/vm: better validation
MariusVanDerWijden f5ecd89
core/vm: fixed pc skip
MariusVanDerWijden ee16514
cmd/eofdump: add recursive mode for tests
MariusVanDerWijden a033d6b
core/vm: fix a few bugs, prettier print
MariusVanDerWijden 8835928
core/vm: fix bugs in DATALOADN, Validation, PUSH9 etc
MariusVanDerWijden f669cfc
core/vm: fix bugs in RETURNCONTRACT validation
MariusVanDerWijden 06872b2
core/vm: fix bugs in EOFCREATE validation and others
MariusVanDerWijden 96fd50a
core/vm: make sure every section is reachable
MariusVanDerWijden 046f287
core/vm: fix subcontainer validation
MariusVanDerWijden efb9807
core/vm: fix max-stack-height validation
MariusVanDerWijden 44d876c
core/vm: fix RJUMPV to use max_size + 1, fix tests
MariusVanDerWijden 56a0ca8
core/vm: fix CALLF stack height validation
MariusVanDerWijden 104df43
core/vm: fix DUPN, SWAPN, EXCHANGE stack height validation
MariusVanDerWijden ab6003b
core/vm: fix DUPN, SWAPN, EXCHANGE stack height validation
MariusVanDerWijden 4add7c2
core/vm: fix JUMPF stack height validation
MariusVanDerWijden f762178
core/vm: fix backward jump validation
MariusVanDerWijden 3929447
core/vm: fix ext stack heights, fix jumpdest validation bitmap
MariusVanDerWijden 2f91f0b
core/vm: started work on linear validation
MariusVanDerWijden 8c7de99
core/vm: more fixes for validate_linear
MariusVanDerWijden 65a20c4
core/vm: more fixes for validate_linear
MariusVanDerWijden ab1c88c
core/vm: fix stack limit
MariusVanDerWijden 076a587
core/vm: fix rjumpv offsets
MariusVanDerWijden a643fe9
core/vm: fix test
MariusVanDerWijden 4d29707
core/vm: fix underflow checks
MariusVanDerWijden File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it unintuitive that
want == have
is an error.