Skip to content

0.33.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Nov 11:40
· 22 commits to master since this release
221b1db

Cast

Added

  • You can now use numbers without quotes as inputs for calls in multicall config file.
  • New --arguments flag to call, invoke and deploy for automatic conversion of Cairo expressions instead of serialized form.

Forge

Changed

  • You can now pass arguments to cairo-profiler and cairo-coverage. Everything after -- will be passed to underlying binary. E.g.
    snforge test --build-profile -- --show-inlined-functions
  • You can't use now --coverage and --build-profile flags at the same time. If you want to use both, you need to run
    snforge test twice with different flags.
  • Contract artifacts are compiled to CASM concurrently.
  • Starknet artifacts are now loaded from all tests targets
  • Cairo Edition in snforge init template set to 2024_07

Fixed

  • Scarb features work with optimized compilation
  • Custom test targets are now supported with optimized compilation
  • Calling contract functions via safe-dispatcher now returns an Err when attempting to invoke a non-existent entry point, instead of causing a panic.