Skip to content

feat(tests): Extend coverage for BAL#2897

Merged
fselmo merged 3 commits into
ethereum:forks/amsterdamfrom
raxhvl:feat/extend-bal-tests
May 26, 2026
Merged

feat(tests): Extend coverage for BAL#2897
fselmo merged 3 commits into
ethereum:forks/amsterdamfrom
raxhvl:feat/extend-bal-tests

Conversation

@raxhvl

@raxhvl raxhvl commented May 22, 2026

Copy link
Copy Markdown
Member

🗒️ Description

Adds additional coverage to BAL. h/t @holgerd77 for these suggestions!

  1. An existing test for insufficient balance targeting CREATE has been extended to include CREATE2.
  2. An existing test for cross transaction storage write extended such that both txs write same value to storage to ensure clients drop changes over-eager some noop filter.

✅ Checklist

@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.44%. Comparing base (55d774b) to head (912e8fb).
⚠️ Report is 5 commits behind head on forks/amsterdam.

Additional details and impacted files
@@               Coverage Diff                @@
##           forks/amsterdam    #2897   +/-   ##
================================================
  Coverage            90.44%   90.44%           
================================================
  Files                  535      535           
  Lines                32439    32439           
  Branches              3012     3012           
================================================
  Hits                 29338    29338           
  Misses                2573     2573           
  Partials               528      528           
Flag Coverage Δ
unittests 90.44% <ø> (ø)

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.

@fselmo fselmo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @raxhvl this lgtm but still in draft. Is this good to review / merge?

@raxhvl raxhvl marked this pull request as ready for review May 25, 2026 20:34

@fselmo fselmo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm! I added some parametrization to the BAL gas limit boundary test that adds a tx or withdrawal (so has a variant also with both). I believe this is what the ask was for case 3 here and it helps us test this boundary a bit more thoroughly.

Can you look over this last commit and give a final thumbs up and we can merge? @raxhvl

@raxhvl

raxhvl commented May 26, 2026

Copy link
Copy Markdown
Member Author

All okay!

@fselmo fselmo merged commit 244afe0 into ethereum:forks/amsterdam May 26, 2026
17 checks passed
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