0.31.0
github-actions
released this
26 Sep 19:09
·
123 commits
to master
since this release
Cast
Changed
declare
andverify
commands now use the Scarbrelease
profile instead of thedev
profile as the default for building artifacts- StarkScan links now point to specific pages for transactions, contracts and classes.
Fixed
- Explorer links displayed upon committing transactions are now properly formatted
sncast declare
no longer fails for flat contracts (i.e. CASM artifacts withbytecode_segment_lengths
being a number)
Forge
Added
- Project generated by
snforge
containsassert_macros
dependency with version 0.1.0 for Scarb <= 2.8.0, otherwise equal to Scarb - Support for overriding fork configuration in test attribute with a different block ID, tag, or hash.
--no-optimization
flag that can be used to build contracts using the [starknet contract target](https://docs.swmansion.com/scarb/docs/extensions/starknet/contract-target.html#starknet-contract-target. This is the default behavior when using Scarb < 2.8.3
Changed
- For Scarb >=
2.8.3
contract artifacts are built as part of the test target now. This process speeds up the compilation time, but the behavior of the contracts potentially may not be 100% consistent with the real networks. It can be disabled using the --no-optimization flag snforge
now validates if your project is setup to generate debug info needed forcairo-coverage
when running--coverage
flag
snforge_scarb_plugin
Fixed
- The package is now correctly versioned