feat(spec-tests): add eip7778 simple test#2026
Merged
LouisTsai-Csie merged 12 commits intoJan 20, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## eips/amsterdam/eip-7778 #2026 +/- ##
========================================================
Coverage 86.33% 86.33%
========================================================
Files 538 538
Lines 34557 34557
Branches 3222 3222
========================================================
Hits 29835 29835
Misses 4148 4148
Partials 574 574
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:
|
Member
|
We need a negative test where a block is invalid due to:
|
3 tasks
e958b62 to
e95d94e
Compare
…and add gasSpent to receipt
e95d94e to
d96a68b
Compare
d96a68b
into
ethereum:eips/amsterdam/eip-7778
15 of 16 checks passed
7 tasks
Collaborator
Author
|
I am so sorry, but i accidentally merge this PR to a wrong branch. I've recreated PR #2045 for the changes. |
17 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🗒️ Description
Implement eip-7778 test cases.
test_simple_gas_accounting: User should receive the refund, block accounting should exclude refund.test_multi_block_gas_accounting: Block accounting should exclude refund, and the transaction receipt should reflect the cumulative gas usage.🔗 Related Issues or PRs
Require PR #1401
✅ Checklist
toxchecks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:uvx tox -e statictype(scope):.mkdocs servelocally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.@ported_frommarker.Cute Animal Picture