Skip to content

0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Aug 12:34
· 966 commits to master since this release
368dfde

Forge

Added

  • support for keccak_syscall syscall - it can be used directly in cairo tests
  • l1_handler_execute cheatcode by @glihm
  • support for rolling/warping/pranking the constructor logic (precalculate address, prank, assert pranked state in constructor)
  • spy_events cheatcode
  • support for printing in contracts
  • spoof cheatcode

Cast

Added

  • Support for custom networks - accounts created on custom networks are saved in accounts-file under network's
    chain_id
  • accounts-file field in Scarb.toml profile
  • Include the class hash of an account contract in the accounts-file

Removed

  • --network option together with the network field in Scarb.toml profile — previously used as a validation factor;
    now networks are identified by their chain_id

Other contributors: @amlord , @tiagofneto

Compatible Scarb Versions

Tool Scarb Version
snforge 0.7.0
sncast >=0.4.1, <=0.7.0