Skip to content

test: Express the capped refund expectations as fractions of the gas - #1742

Merged
chfast merged 1 commit into
masterfrom
test/refund-cap-invariants
Sep 28, 2026
Merged

chfast merged 1 commit into
masterfrom
test/refund-cap-invariants

Conversation

@chfast

@chfast chfast commented Sep 27, 2026

Copy link
Copy Markdown
Member

State the EIP-3529 cap as a fifth of the pre-refund gas instead of the precomputed numbers, so the expectations follow changes of the intrinsic gas.

Peeled from #1733.

🤖 Generated with Claude Code

State the EIP-3529 cap as a fifth of the pre-refund gas instead of the
precomputed numbers, so the expectations follow changes of the
intrinsic gas.
@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.98%. Comparing base (d9e925a) to head (2a34b58).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1742   +/-   ##
=======================================
  Coverage   97.98%   97.98%           
=======================================
  Files         183      183           
  Lines       16856    16857    +1     
  Branches     3856     3856           
=======================================
+ Hits        16516    16517    +1     
  Misses        250      250           
  Partials       90       90           
Flag Coverage Δ
eest-develop 81.77% <ø> (ø)
eest-develop-gmp 25.88% <0.00%> (-0.01%) ⬇️
eest-legacy 17.10% <0.00%> (-0.01%) ⬇️
eest-libsecp256k1 28.07% <0.00%> (-0.01%) ⬇️
eest-stable 81.77% <ø> (ø)
evmone-unittests 94.41% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
core 95.95% <ø> (ø)
tooling 94.29% <ø> (ø)
tests 99.81% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...ttests/state_transition_eip7778_block_gas_test.cpp 100.00% <100.00%> (ø)
test/unittests/tooling_t8n_test.cpp 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed

codspeed Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 2.71%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 898 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ baseline/analyse/main/sha1_shifts 11.5 µs 11.2 µs +2.71%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing test/refund-cap-invariants (2a34b58) with master (d9e925a)

Open in CodSpeed

@chfast
chfast merged commit 9921e04 into master Sep 28, 2026
28 of 30 checks passed
@chfast
chfast deleted the test/refund-cap-invariants branch September 28, 2026 07:00
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.

1 participant