-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
all: implement eip-7702 set code tx #30078
Merged
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
7a4bafa
all: impl eip-7702
lightclient 8a49fd8
cmd/evm: add 7702 test for t8n
lightclient a173914
internal/ethapi: add 7702 tests to eth_estimateGas
lightclient 7dceb35
core/vm: make 7702 variants of EXT* ops
lightclient f9e0222
core: remove resolve code mechanism from statedb, put in vm
lightclient f32e9bf
core: use parse delegation for code check in state transition
lightclient 48ef8da
legacypool: don't allow 7702 txs in pool yet
lightclient f709826
common: remove zero address
lightclient 630b42c
accounts/external: handle set code tx type in backend
lightclient bebcdd8
internal/ethapi: handle set code tx type in transaction args
lightclient d3e82b4
core: clarify test a bit
holiman b8fb4d6
core/types: remove AuthorizationList and use Authorization as value i…
fjl 1506e06
core/types: change Authorization signature value to uint256
fjl 09d1a16
core/types: change Authority method to pointer receiver
fjl ab2f070
core: fix account reference
fjl e137c47
internal/ethapi: remove reference to blob fields in setcode tx
fjl bb182a6
core/types: improve authority signature handling
fjl 0926de3
core: track validation error for authorizations
fjl 0f85021
core: style improvement in applyAuthorization
fjl bf01e0d
core: add comment about nonce update order
fjl a1c1860
core/vm: add comment about chained EIP-7702 delegations
fjl 23baaee
core: remove debug print
fjl a0274e0
cmd/evm: update testdata
fjl 33888a9
graphql: add support for fee parameters of SetCodeTx
fjl e7c0f80
core: improve checks for 7702
fjl bd36423
core: add comment about 7702 state transition error
fjl 3764d42
core/state: fix hooks to account for setcode on non-empty code
holiman 5fccdfb
core/state: fix journal to account for setcode over non-empty code
holiman ace3a3f
core: reformat comment
fjl 1110fc5
core: clarify delegation deletion flow
fjl 9b94402
core: more comment
fjl 9ee0d10
core: lift convenience warming of tx destination from per auth to pos…
lightclient f4b5798
core: refactor non-create processing flow
lightclient eda288c
internal/ethapi: removed commented out code from test
lightclient 0a129da
core/vm: direct check code hash during creation instead of resolving
lightclient 6505e50
tests: use big int for stAuthorization because eest needs math.HexOrD…
lightclient 46a6482
core: rm extra whitespace
lightclient 7ecda7d
t8n: do not omit requests when empty
lightclient fdfc159
core/vm: return delegation designator prefix for code reading ops
lightclient e98e686
core/vm: report gas used warming 7702 delegation targets correctly in…
lightclient aed705b
eth/tracers: add support for setcode tx in prestate tracer
lightclient 034f897
core: mod errors + add test
holiman 857641d
core: create official prague instruction set, name eof set
lightclient f33b87a
cmd/evm: fix expected output for 7702 t8n test
lightclient f3a427e
internal/ethapi: rename authlist to authorizationList in transaction …
lightclient e4e381d
core/vm: rm dynamic gas calculators for core reading ops
lightclient 98521a5
core/vm: revert changes to extcodecopy in verkle
lightclient 55cb1db
core/vm: simplify 7702 enabler
holiman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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
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
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
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
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
Oops, something went wrong.
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.
Why do we have an exported and unexported version of the same function?
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 assume because we added the testing function just to do fuzz testing, but didn't want to churn core geth code when we decide to delete it.
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.
Happy to remove to consolidate it into the exported function if that's better. Just trying to retain what was there.
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.
Exported is named "ForTesting" to signal that nobody should rely on it as official api. Fuzzing yes, and maybe also goevmlab