Skip to content

feat(anvil): add Tempo gas and fee tests#14124

Merged
zerosnacks merged 1 commit intofoundry-rs:masterfrom
stevencartavia:tempo-tests-gas
Apr 7, 2026
Merged

feat(anvil): add Tempo gas and fee tests#14124
zerosnacks merged 1 commit intofoundry-rs:masterfrom
stevencartavia:tempo-tests-gas

Conversation

@stevencartavia
Copy link
Copy Markdown
Collaborator

Add gas estimation and fee token deduction tests for Tempo mode.

Ported:

  • test_gas_estimation — TIP20 transfer gas estimate > 21000
  • test_gas_estimation_for_contract_call — contract call gas estimate > 21000
  • test_gas_price — gas price is non-zero
  • test_base_fee — block has base_fee_per_gas
  • test_eip1559_fee_token_deduction — ALPHA_USD balance decreases after paying gas

New:

  • test_gas_estimation_with_value_fails — eth_estimateGas with native value rejects

Copy link
Copy Markdown
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.

👍

@zerosnacks zerosnacks merged commit 96be745 into foundry-rs:master Apr 7, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 7, 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