0.42.0
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
inScarb.toml
. Without using this feature, the backtrace may be less accurate than before.
As of this release, this feature is available only inscarb 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