Skip to content

eip7928: add SELFDESTRUCT OOG BAL test#1846

Merged
fselmo merged 3 commits intoethereum:eips/amsterdam/eip-7928from
qu0b:qu0b/eip7928-selfdestruct-oog-test
Dec 5, 2025
Merged

eip7928: add SELFDESTRUCT OOG BAL test#1846
fselmo merged 3 commits intoethereum:eips/amsterdam/eip-7928from
qu0b:qu0b/eip7928-selfdestruct-oog-test

Conversation

@qu0b
Copy link
Contributor

@qu0b qu0b commented Dec 4, 2025

Found this issue when running a kurtosis network. This test currently fails against Besu but other clients tested (nethermind, reth) pass this test.

image

@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (eips/amsterdam/eip-7928@67c1983). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ethereum/forks/amsterdam/vm/instructions/system.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##             eips/amsterdam/eip-7928    #1846   +/-   ##
==========================================================
  Coverage                           ?   82.46%           
==========================================================
  Files                              ?      797           
  Lines                              ?    47987           
  Branches                           ?     4341           
==========================================================
  Hits                               ?    39574           
  Misses                             ?     7927           
  Partials                           ?      486           
Flag Coverage Δ
unittests 82.46% <0.00%> (?)

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.

mirgee pushed a commit to mirgee/execution-specs that referenced this pull request Dec 5, 2025
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.

lgtm! I added a change to the spec (was wrong, need to check gas before account access) and refactored the test to parametrize around the gas boundary. I also moved these self_destruct tests into a the appropriate file within test_block_access_lists_opcodes.py.

@qu0b lmk if these changes look good to you and I'll merge.

@fselmo fselmo merged commit 2152a97 into ethereum:eips/amsterdam/eip-7928 Dec 5, 2025
13 checks passed
@fselmo fselmo deleted the qu0b/eip7928-selfdestruct-oog-test branch December 5, 2025 22:27
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