Commit 2360cb4
committed
feat(tokamak-deployer): add DelayedWETH deployment to fault-proof steps
Fault-proof mode (--fault-proof) was missing DelayedWETH, causing
initDisputeGameFactory to fail with "delayedWETHProxyAddr is empty".
Changes:
- deploy-artifacts/DelayedWETH.json: extracted from forge-artifacts
- faultProofSteps: 6 → 9 (steps 33-35 for proxy/impl/upgrade)
- DeployOutput: add DelayedWETHProxy field
- DeployConfig: add DelayedWETHDelay uint64 (default 0 = no delay)
- CLI: add --delayed-weth-delay flag (uint64, default 0)
Local testnet uses delay=0; initialize() not called since hold() is
never invoked in normal game lifecycle.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2f1b724 commit 2360cb4
4 files changed
Lines changed: 581 additions & 2 deletions
File tree
- cmd/tokamak-deployer
- cmd
- deploy-artifacts
- internal/deployer
0 commit comments