Skip to content

0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Aug 13:08
· 1054 commits to master since this release
53ef523

What's Changed

Forge

Added

  • warp cheatcode
  • roll cheatcode
  • prank cheatcode
  • Most unsafe libfuncs can now be used in contracts

Changed

  • declare return type to starknet::ClassHash, doesn't return a Result
  • PreparedContract class_hash changed to starknet::ClassHash
  • deploy return type to Result::<starknet::ContractAddress, RevertedTransaction>

Fixed

  • Using the same cairo file names as corelib files no longer fails test execution

Cast

Added

  • multicall as a single transaction
  • account creation and deployment
  • --wait flag to wait for transaction to be accepted/rejected

Changed

  • sierra and casm artifacts are now required in Scarb.toml for contract declaration
  • improved error messages

Compatible Scarb Versions

Tool Scarb Version
snforge 0.6.0-alpha.2
sncast >=0.4.1, <=0.6.0-alpha.2