Skip to content

0.42.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Apr 11:23
· 76 commits to master since this release
24abff8

Forge

Added

  • Safe dispatchers can now be used inside contracts

Note

Due to the change related to safe dispatchers the behavior of existing code can change. This might be especially relevant for tests using the attribute #[should_panic]

Changed

  • Minimal supported Scarb version is now 2.9.1
  • Improved display of backtrace for contracts that panicked, when panic-backtrace = true in Scarb.toml. Without using this feature, the backtrace may be less accurate than before.
    As of this release, this feature is available only in scarb nightly-2025-03-27.

Fixed

  • The state correctly reverts after failed internal calls

Cast

Fixed

  • Bug that prevented from passing values to --arguments that started with a leading minus - sign.
  • User is now prompted to save an imported or deployed account in sncast config even when using --network flag