Skip to content

fix: bump Tempo deps and validate fork schedule compatibility#14481

Draft
0xrusowsky wants to merge 3 commits intofoundry-rs:masterfrom
0xrusowsky:rus/bump-tempo
Draft

fix: bump Tempo deps and validate fork schedule compatibility#14481
0xrusowsky wants to merge 3 commits intofoundry-rs:masterfrom
0xrusowsky:rus/bump-tempo

Conversation

@0xrusowsky
Copy link
Copy Markdown
Contributor

Summary

  • bump the pinned tempoxyz/tempo workspace deps to 8bd4d01d37e3cc324030baacbce2da0862d7735a
  • add a cast integration test that calls tempo_forkSchedule on configured Tempo RPCs and parses the response with TempoHardfork
  • run that compatibility check in ci-tempo before the script-based Tempo checks

Context

Older Foundry Tempo pins only knew hardforks through T4. When a node reports active: "T5", is_hardfork_active(T3) can silently return false, which causes cast keychain to choose the legacy authorize selector on T3+ chains.

The new integration test makes that mismatch obvious by failing as soon as a configured Tempo RPC reports a fork name this Foundry pin cannot parse.

Verification

  • cargo check -p cast -p anvil -p forge --locked
  • TEMPO_MAINNET_RPC_URL=https://rpc.tempo.xyz TEMPO_TESTNET_RPC_URL=https://rpc.moderato.tempo.xyz cargo test --locked -p cast --test cli tempo_fork_schedule_parses_configured_rpcs -- --exact --nocapture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant