Skip to content

Conversation

@raxhvl
Copy link
Member

@raxhvl raxhvl commented Dec 10, 2025

🗒️ Description

This PR add tests for the effects of EIP-4788 beacon roots on EIP-7928.

Blocked by

🔗 Related Issues or PRs

N/A.

✅ Checklist

  • All: Ran fast tox checks to avoid unnecessary CI fails, see also Code Standards and Enabling Pre-commit Checks:
    uvx tox -e static
  • All: PR title adheres to the repo standard - it will be used as the squash commit message and should start type(scope):.
  • All: Considered adding an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • All: Set appropriate labels for the changes (only maintainers can apply labels).

Cute Animal Picture

    |
    \\ A _.-''.-""
    /`''`    /
   |__  @)   |
    '-....--'\
              \
              |

@fselmo
Copy link
Contributor

fselmo commented Dec 10, 2025

This needs a good rebase with the current state of ethereum/execution-specs branch eips/amsterdam/eip-7928 but the cases here look good to me 👍🏼. Perhaps we should have a file more appropriately generalized for test_block_access_lists_system_contracts.py? I feel like the scope of the 4788 is too narrow to warrant its own file. Thoughts?

@fselmo
Copy link
Contributor

fselmo commented Dec 10, 2025

Ah I missed the withdrawal tests altogether. I will look again when this is rebased. Unless there were no added tests there. Maybe we should rename that one to system_contracts and add these new cases there?

@raxhvl raxhvl force-pushed the feat/eip-7928/eip-4788-tests branch from eef314b to 5f52a2b Compare December 11, 2025 08:16
@raxhvl
Copy link
Member Author

raxhvl commented Dec 11, 2025

Id suggest we create a housekeeping issue to organize tests as you seem fit, we can clean up once we have a more stable amsterdam base. These interim new files per PR makes for a pleasant rebasing experience.

I have rebased this PR.

Do you think test_bal_4788_query is getting complicated and we should break it down? We still need to add a malformed timestamp case that we discussed.

@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.25%. Comparing base (aeae151) to head (5578e33).
⚠️ Report is 1 commits behind head on eips/amsterdam/eip-7928.

Additional details and impacted files
@@                     Coverage Diff                     @@
##           eips/amsterdam/eip-7928    #1887      +/-   ##
===========================================================
- Coverage                    86.32%   86.25%   -0.08%     
===========================================================
  Files                          538      538              
  Lines                        34561    34561              
  Branches                      3224     3224              
===========================================================
- Hits                         29835    29809      -26     
- Misses                        4152     4165      +13     
- Partials                       574      587      +13     
Flag Coverage Δ
unittests 86.25% <ø> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@raxhvl raxhvl marked this pull request as ready for review December 11, 2025 16:29
@fselmo fselmo force-pushed the eips/amsterdam/eip-7928 branch from 6967b93 to be73122 Compare December 15, 2025 19:37
@raxhvl raxhvl force-pushed the feat/eip-7928/eip-4788-tests branch 2 times, most recently from 6808c40 to 2f39887 Compare December 17, 2025 20:26
@fselmo fselmo force-pushed the eips/amsterdam/eip-7928 branch from be73122 to ba0eec1 Compare December 17, 2025 22:12
@fselmo fselmo force-pushed the feat/eip-7928/eip-4788-tests branch from 2f39887 to 9194766 Compare December 17, 2025 22:21
@fselmo fselmo force-pushed the feat/eip-7928/eip-4788-tests branch from 70fa776 to 48af6c6 Compare December 31, 2025 21:46
Copy link
Contributor

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really close, just a few things to round out before merging 👍🏼

@fselmo fselmo added this to the amsterdam milestone Jan 5, 2026
Carsons-Eels pushed a commit to Carsons-Eels/execution-specs that referenced this pull request Jan 6, 2026
@raxhvl
Copy link
Member Author

raxhvl commented Jan 7, 2026

@fselmo Thanks for the review. I have resolved everything.

Copy link
Contributor

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lgtm, thanks! Looks like there are some merge conflicts. Can you fix those and we can squash merge @raxhvl?

@fselmo
Copy link
Contributor

fselmo commented Jan 7, 2026

@raxhvl nevermind, I was able to use the web editor here on github pretty easily to accept both changes. I will merge once some CI passes to make sure it's clean 👍🏼

@fselmo fselmo merged commit dc1a0d2 into ethereum:eips/amsterdam/eip-7928 Jan 7, 2026
10 of 11 checks passed
fselmo added a commit to fselmo/execution-specs that referenced this pull request Jan 12, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
fselmo added a commit to fselmo/execution-specs that referenced this pull request Jan 12, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
fselmo added a commit that referenced this pull request Jan 12, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
fselmo added a commit to fselmo/execution-specs that referenced this pull request Jan 15, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
fselmo added a commit to fselmo/execution-specs that referenced this pull request Jan 15, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
fselmo added a commit that referenced this pull request Jan 16, 2026
* ✨ feat(tests): 7928x4788 tests

* 🧹 chore: Rename bal index

* ✨ feat: zero indexed tx

* 🥢 nit: Balance change for query contract

* 🥢 nit: Exclude system address from BAL

* 🥢 nit: Exclude system address from BAL

* 📄 docs: Update test description

---------

Co-authored-by: raxhvl <raxhvl@users.noreply.github.com>
Co-authored-by: felipe <fselmo2@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants