feat(anvil): add Tempo genesis and basic behavior tests#14112
Merged
zerosnacks merged 2 commits intofoundry-rs:masterfrom Apr 3, 2026
Merged
feat(anvil): add Tempo genesis and basic behavior tests#14112zerosnacks merged 2 commits intofoundry-rs:masterfrom
zerosnacks merged 2 commits intofoundry-rs:masterfrom
Conversation
zerosnacks
reviewed
Apr 3, 2026
Comment on lines
+52
to
+62
| // Tempo precompiles should have sentinel bytecode (0xef) | ||
| let precompiles: &[Address] = &[ | ||
| NONCE_PRECOMPILE_ADDRESS, | ||
| STABLECOIN_DEX_ADDRESS, | ||
| TIP20_FACTORY_ADDRESS, | ||
| TIP403_REGISTRY_ADDRESS, | ||
| TIP_FEE_MANAGER_ADDRESS, | ||
| VALIDATOR_CONFIG_ADDRESS, | ||
| VALIDATOR_CONFIG_V2_ADDRESS, | ||
| ACCOUNT_KEYCHAIN_ADDRESS, | ||
| ]; |
Member
There was a problem hiding this comment.
Preferred to maintain this as a single list outside of the test suite so implementation and test suite cannot diverge
zerosnacks
previously approved these changes
Apr 3, 2026
4d01989 to
25971ff
Compare
zerosnacks
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add initial Tempo test suite for
anvil --tempomode.Ported:
test_tempo_precompiles_have_code— precompiles and tokens have code at genesistest_tip20_token_metadata— name, symbol, decimals for all 4 fee tokenstest_fee_token_balances_minted_to_dev_accounts— dev accounts have token balancestest_dev_accounts_have_balance— dev accounts have genesis balancetest_native_value_transfer_rejected— value > 0 rejected with errortest_nonce_increments— nonce updates after TIP20 transferNew:
test_zero_value_tx_succeeds— zero-value EIP-1559 tx mines successfullytest_contract_deployment— contract creation works with value=0