Skip to content

v0.3.0

Choose a tag to compare

@nksazonov nksazonov released this 21 May 10:13
· 1 commit to master since this release
51f246d

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.
  • Version bumped to v0.3.0 in forge-create.sh.