Skip to content

v0.3.1

Latest

Choose a tag to compare

@nksazonov nksazonov released this 21 May 13:13

Summary

save-script skip guards

Transactions with a null hash (simulated, never broadcast) or no transaction.to (direct CREATE without factory) are now skipped instead of saved as incomplete artifacts.

Incomplete deployment report

Skipped incomplete deployments are listed by name at the end of the command output so you know exactly what was missed:

  Saved 4 artifact(s), skipped 1 non-deployment transaction(s).
  Skipped 2 incomplete deployment(s) (null hash or null tx.to):                                                                                                              
    - SimulatedToken                                                                                                                                                         
    - DirectDeploy                                                                                                                                                           

./ path normalization

save and the default forge create wrapper now strip a leading ./ from the contract path before storing it in the artifact, matching the behaviour of save-script.