Merge pull request 'fix: anvil not validated in tool-check step (#1046)' (#1131) from fix/issue-1046 into master

This commit is contained in:
johba 2026-03-23 01:24:03 +01:00
commit 6b9dad5933

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