fix: anvil not validated in tool-check step (#1046)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
johba 2026-03-23 00:07:14 +00:00
parent 31959daf0b
commit d5a8936870

View file

@ -107,7 +107,13 @@ for tool in forge cast npx node python3; do
fail "$tool not found in PATH"
fi
done
success "forge, cast, npx, node, python3 are present"
if ! $LIVE; then
if ! command -v anvil &>/dev/null; then
fail "anvil not found in PATH (required for dry-run mode)"
fi
fi
success "Required tools are present"
# ---------------------------------------------------------------------------
# Step 1 — Transpile Push3 → Solidity