Refs #52
File: scripts/anvil_fork.sh
Problem
Script lacks set -euo pipefail. A failed upstream probe or malformed anvil flag does not abort; later commands continue in undefined state. Anvil may boot with bad args, orphan its process, block port 8545 for the next run.
Fix
Add as first line after shebang:
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
Re-run shellcheck (shellcheck scripts/anvil_fork.sh) to catch other safety issues.
Refs #52
File: scripts/anvil_fork.sh
Problem
Script lacks
set -euo pipefail. A failed upstream probe or malformed anvil flag does not abort; later commands continue in undefined state. Anvil may boot with bad args, orphan its process, block port 8545 for the next run.Fix
Add as first line after shebang:
Re-run shellcheck (
shellcheck scripts/anvil_fork.sh) to catch other safety issues.