-
Notifications
You must be signed in to change notification settings - Fork 542
Modify EIP-3607 restrictions to account for EIP-7702 delegations #1727
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
Merged
RomarQ
merged 37 commits into
polkadot-evm:master
from
moonbeam-foundation:manuel/add-eip7702-testing
Aug 13, 2025
Merged
Changes from 22 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
f8a091c
test: :white_check_mark: add happy path test
manuelmauro 84e110d
test: :recycle: minimize happy path
manuelmauro 2c7bc8d
feat: :arrow_up: upgrade evm crate
manuelmauro 24d10b6
test: :white_check_mark: remove silly condition in test
manuelmauro dc55a6b
fix: :bug: modify the restriction put in place by EIP-3607
manuelmauro 4327a16
refactor: :recycle: nit delegation indicator check
manuelmauro a5cd886
test: :white_check_mark: add EIP-7702 happy path unit test
manuelmauro 480b9da
test: :white_check_mark: split delegation and call to delegated code
manuelmauro 530019f
test: :white_check_mark: fix smart contract creation in test
manuelmauro 0d9c9fb
fix: :white_check_mark: use simpler smart contract on delegation
manuelmauro c40e6e2
docs: :memo: document EIP-7702 behavior
manuelmauro 39bc7ed
test: :white_check_mark: cleanup new unit test
manuelmauro 7003602
style: :art: define constant EIP7702_DELEGATION_INDICATOR
manuelmauro a11d805
refactor: :rotating_light: clippy
manuelmauro f2f8857
refactor: :recycle: use ethers TS authorization utils
manuelmauro cfd2af0
test: :white_check_mark: fix failing test
manuelmauro 26f8e7d
refactor: :art: use EIP7702_DELEGATION_INDICATOR constant
manuelmauro 3b213e9
style: :art: fmt
manuelmauro 5e9c66b
Merge branch 'master' into manuel/add-eip7702-testing
manuelmauro e749d09
test: :white_check_mark: properly test zero-address delegation
manuelmauro 1a546c1
test: :white_check_mark: fix test expectations
manuelmauro eee1cd1
refactor: :recycle: use ethers.ZeroAddress constant
manuelmauro 664fe9f
fix: :bug: fix bug preventing a delegation to the zero address to cle…
manuelmauro fc7adaf
refactor: :recycle: use EVM constants for EIP-7702
manuelmauro 580c22f
revert: :fire: remove AI slop
manuelmauro 4c890e7
test: :white_check_mark: add rust test for zero-address delegations
manuelmauro 23da4aa
refactor: :recycle: use evm constants for EIP-7702 delegations
manuelmauro 2108960
refactor: :recycle: add a dedicated function for code cleanup
manuelmauro 084e5a1
chore: :see_no_evil: ignore .zed folder
manuelmauro 5ff810a
perf: :zap: avoid code read by checking code metadata first
manuelmauro 38d6e68
fix: :bug: fix delegation checks
manuelmauro ce3075a
feat: :arrow_up: upgrade evm crate
manuelmauro 77a5d44
fix: :bug: implement set/reset_delegation methods
manuelmauro e1fd429
fix: :bug: fix import path for constant
manuelmauro 532a550
refactor: :bug: do not rely on create_account when setting a delegation
manuelmauro 5f9e289
fix: :bug: fully remove account creation on set_delegation
manuelmauro c1dcd9f
Merge branch 'master' into manuel/add-eip7702-testing
manuelmauro 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 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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.