Skip to content

fix(anvil): swap param order in get_next_block_blob_excess_gas to match callers#13740

Merged
zerosnacks merged 1 commit intofoundry-rs:masterfrom
gutonosa:get_next_block_blob_excess_gas
Mar 17, 2026
Merged

fix(anvil): swap param order in get_next_block_blob_excess_gas to match callers#13740
zerosnacks merged 1 commit intofoundry-rs:masterfrom
gutonosa:get_next_block_blob_excess_gas

Conversation

@gutonosa
Copy link
Contributor

The param names were swapped relative to what callers actually pass — worked by accident since the osaka formula uses addition (commutative), but the double-reversal was confusing and fragile. Just aligned the signature with all three call sites.

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks 👍

@zerosnacks zerosnacks merged commit 37ec320 into foundry-rs:master Mar 17, 2026
16 checks passed
@github-project-automation github-project-automation bot moved this to Done in Foundry Mar 17, 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.

2 participants