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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Summary
New save-script subcommand — batch-saves deployment artifacts from a Foundry script run file (broadcast/**/<chainId>/run-latest.json) with no blockchain calls. Reads every CREATE/CREATE2 transaction, resolves the .sol contract path locally, and writes one JSON artifact per contract using the same schema and filename-collision algorithm as the existing save command.
Fix colon characters in save output paths — forge-create-save.sh was producing directory names like Counter.sol:Counter and timestamps like 2024-01-15T14:30:45 with literal colons. Fixed to use _ in the directory name (Counter.sol_Counter) and - in the timestamp (2024-01-15T14-30-45), consistent with how forge-create-create.sh and forge-create-script.sh already behave.