You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(kms/auth-eth): clean up Prek failures inherited from foundry branch
The Prek CI workflow runs `prek run --from-ref base --to-ref head` across
the full PR diff, so pre-existing whitespace and shellcheck issues in the
foundry branch's anvil helper scripts (added by the original migration
contributor) were blocking the PR even though they predated this session.
Auto-fixers (trailing-whitespace, end-of-file-fixer) cleaned up 10 files
with no behavioral impact.
Shellcheck warnings, all in kms/auth-eth/scripts/:
- cleanup.sh: dropped unused RED/YELLOW color variables; added
`# shellcheck source=/dev/null` for the dynamic source; switched
`! -z` → `-n`; quoted `$ANVIL_PID`.
- run-tests.sh: source directive; quoted `$ANVIL_PID`, `$SERVER_PID`,
`$i`, `$ETH_RPC_URL`; switched `! -z` → `-n`.
- setup-local-chain.sh: quoted `$i`.
- test-all.sh: added source directive for `../.env.test`.
Verification: prek run --from-ref origin/master --to-ref HEAD passes all
hooks. forge test --ffi (46/46) and Slither (0 findings) still clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments