-
Notifications
You must be signed in to change notification settings - Fork 392
Qu0b/add bal test cases #1812
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
Qu0b/add bal test cases #1812
Conversation
jochem-brouwer
left a comment
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 Stefan 😄 👍 We met at Devconnect!! 🥳
Very impressive edge cases! I left a few comments on them, also some clarifications or just some notes. Thanks a lot 😄 👍
e4c7fe1 to
98c2154
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## eips/amsterdam/eip-7928 #1812 +/- ##
==========================================================
Coverage ? 82.46%
==========================================================
Files ? 797
Lines ? 47987
Branches ? 4341
==========================================================
Hits ? 39574
Misses ? 7927
Partials ? 486
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…#1812) Co-authored-by: Mario Vega <marioevz@gmail.com>
056eeae to
6aae2fb
Compare
6aae2fb to
320670f
Compare
4cfbc32 to
4c0cc53
Compare
4c0cc53 to
1518655
Compare
fselmo
left a comment
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.
* rebase onto upstream * chore(fix) balance check in call before target access * merge test cases with usptream * merge test cases with usptream * chore(fix) format with ruff * chore(fix) revert call changes and add target to bal * merge test cases with usptream * improve wording * chore(formate) fix formatting and line length * refactor(test-tests): Use pre API where possible; explicit check for none in BAL * refactor(test-tests): Refactor opcode tests to bal opcodes test file --------- Co-authored-by: fselmo <fselmo2@gmail.com>
* rebase onto upstream * chore(fix) balance check in call before target access * merge test cases with usptream * merge test cases with usptream * chore(fix) format with ruff * chore(fix) revert call changes and add target to bal * merge test cases with usptream * improve wording * chore(formate) fix formatting and line length * refactor(test-tests): Use pre API where possible; explicit check for none in BAL * refactor(test-tests): Refactor opcode tests to bal opcodes test file --------- Co-authored-by: fselmo <fselmo2@gmail.com>

🗒️ Description
Implement new BAL (Block Access List) tests with full test implementations:
test_bal_create2_collision- CREATE2 address collision handlingtest_bal_create_selfdestruct_to_self_with_call- Init code with external call then selfdestruct to selftest_bal_selfdestruct_to_7702_delegation- SELFDESTRUCT to EIP-7702 delegated accounttest_bal_revert_insufficient_funds- CALL failure due to insufficient balancetest_bal_lexicographic_address_ordering- Strict byte-wise address ordering validation with endian-trap addressestest_bal_transient_storage_not_tracked- EIP-1153 transient storage exclusiontest_bal_selfdestruct_to_precompile- SELFDESTRUCT with precompile beneficiarytest_bal_all_transaction_types- All 5 tx types (Legacy, EIP-2930, EIP-1559, Blob, EIP-7702) in single blocktest_bal_create_early_failure- CREATE failure before track_addresstest_bal_withdrawal_to_7702_delegation- Withdrawal to EIP-7702 delegated account