Add multichain deployment check script #2
Closed@julien opened this issue 5h ago · 1 comment
- @julien opened this issue · 5h agoedited
The CREATE2 deploy script is supposed to give
Lovethe same address on every EVM network, but nothing in the repo verifies that claim end to end — the existing tests only check the prediction logic in-process.Add a script that spins up two local anvil nodes with different chain ids, runs the real deploy script against each, and compares the resulting addresses and onchain state.
Done when:
- a versioned script in
script/starts two anvil nodes, broadcastsLoveScripton both and exits non-zero if the addresses differ - it cleans up the nodes and the
broadcast/artifacts it creates .gitignoreno longer leaks broadcast logs from the second local chain- the README documents how to run it
- a versioned script in
- @julien · 5h agoedited
Closed via 2 — merged 7c6b16bd88a6202ceb99bd2b19ff9c587a2750fb into main.
Sign in to comment.