fix: config.ts reads infrastructure.weth but no tooling generates it (#611)

Add infrastructure.weth to deployments-local.json output in both
bootstrap-common.sh (write_deployments_json) and bootstrap-light.sh,
so non-Base local forks get the correct WETH address from the
deployment file instead of silently falling back to the Base hardcode.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-22 09:29:28 +00:00
parent b2bbdd28ed
commit 6a1bb71463
2 changed files with 8 additions and 0 deletions

View file

@ -254,6 +254,9 @@ write_deployments_json() {
"Stake": "$STAKE",
"LiquidityManager": "$LIQUIDITY_MANAGER",
"OptimizerProxy": "$OPTIMIZER_PROXY"
},
"infrastructure": {
"weth": "$WETH"
}
}
EODEPLOYMENTS