-
Notifications
You must be signed in to change notification settings - Fork 144
feat(tests): add type 4 transaction edge case test #1648
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
Conversation
Requires ethereum/execution-specs#1255 before merging. |
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.
Looks great, thanks for implementing this.
Just left a couple of comments.
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.
LGTM from my side! :)
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.
Hey thanks for the changes! Just a few more comments and we can merge :)
* add warm address test * change return opcode for stop * wrap CALL in CodeGasMeasure * make test future-proof
🗒️ Description
Tests that when replacing the delegated contract of an account the previous contract shouldn't be kept in
accessed_addresses
. We test this by making a CALL directly to it in the same transaction.Disclaimer: When filling the tests with the default tool (
ethereum-spec-evm-resolver
) and executing that.json
with Geth or Reth these tests fail because the python execution spec doesn't behave in the same way that those clients do. For this I left a PR in the execution-specs repository.Of course, when filling directly with Geth t8n tool there is no problem when running the test.
🔗 Related Issues
✅ Checklist