Skip to content

fix(tests): update gas report snapshot after gas params sync fix#14439

Merged
zerosnacks merged 2 commits intomasterfrom
fix/update-gas-report-snapshot
Apr 24, 2026
Merged

fix(tests): update gas report snapshot after gas params sync fix#14439
zerosnacks merged 2 commits intomasterfrom
fix/update-gas-report-snapshot

Conversation

@zerosnacks
Copy link
Copy Markdown
Member

@zerosnacks zerosnacks commented Apr 24, 2026

Summary

Update the flaky_gas_report_fallback_with_calldata test snapshot to reflect the new deployment cost after #14420.

Closes #14435
Closes #14434

Details

#14420 changed set_spec_id to also call set_spec_and_mainnet_gas_params, properly syncing gas parameters with the EVM spec. This changed the deployment cost of CounterWithFallback from 132471132459 (delta of 12 gas).

The old snapshot value was slightly incorrect because gas params weren't being synced when updating the executor spec.

CI failure: https://github.com/foundry-rs/foundry/actions/runs/24865370005/job/72800087298

The deployment cost for CounterWithFallback changed from 132471 to
132459 after #14420 started properly syncing gas parameters when
updating the executor spec via set_spec_id.

Amp-Thread-ID: https://ampcode.com/threads/T-019dbea7-a331-7269-80a8-b935a7bdaa49
Co-authored-by: Amp <amp@ampcode.com>
@zerosnacks zerosnacks disabled auto-merge April 24, 2026 10:06
@zerosnacks zerosnacks merged commit 1db4d8d into master Apr 24, 2026
16 of 17 checks passed
@zerosnacks zerosnacks deleted the fix/update-gas-report-snapshot branch April 24, 2026 10:07
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

bug: flaky tests workflow failed bug: flaky tests workflow failed (isolate)

2 participants