Merge pull request 'fix: config.ts reads infrastructure.weth but no tooling generates it (#611)' (#1108) from fix/issue-611 into master

This commit is contained in:
johba 2026-03-22 11:04:14 +01:00
commit a5d74ced81
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

View file

@ -56,6 +56,8 @@ POOL=$(echo "$DEPLOY_OUT" | grep -oP 'Pool: \K0x[a-fA-F0-9]+' | head -1)
# Base Sepolia Uniswap V3 Factory — must match v3Factory constant in DeployLocal.sol
V3_FACTORY="0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24"
WETH=0x4200000000000000000000000000000000000006
cat > "$ONCHAIN_DIR/deployments-local.json" << EOF
{
"contracts": {
@ -65,6 +67,9 @@ cat > "$ONCHAIN_DIR/deployments-local.json" << EOF
"OptimizerProxy": "$OPT",
"Pool": "$POOL",
"V3Factory": "$V3_FACTORY"
},
"infrastructure": {
"weth": "$WETH"
}
}
EOF