fix: add --tc DeployLocal to forge script invocations
Adding SeedSwapper alongside DeployLocal in the same .sol file caused forge to error "Multiple contracts in the target path" when no --tc flag was specified, silently failing the CI bootstrap step. Add --tc DeployLocal to all forge script invocations of DeployLocal.sol: - scripts/bootstrap-common.sh (CI / local bootstrap) - tools/deploy-optimizer.sh (manual deploy tool) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3a17404529
commit
73a80ead0b
2 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ else
|
|||
info "No OPTIMIZER_PROXY set — deploying fresh local stack via DeployLocal.sol"
|
||||
(
|
||||
cd "$ONCHAIN_DIR"
|
||||
forge script script/DeployLocal.sol \
|
||||
forge script script/DeployLocal.sol --tc DeployLocal \
|
||||
--rpc-url "$RPC_URL" \
|
||||
--broadcast 2>&1 | tee /tmp/deploy-local-output.txt
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue