0.33.0
·
284 commits
to master
since this release
Cast
Added
- You can now use numbers without quotes as inputs for calls in multicall config file.
- New
--arguments
flag tocall
,invoke
anddeploy
for automatic conversion of Cairo expressions instead of serialized form.
Forge
Changed
- You can now pass arguments to
cairo-profiler
andcairo-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 to2024_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.