What's Changed
Forge
Added
warp
cheatcoderoll
cheatcodeprank
cheatcode- Most unsafe libfuncs can now be used in contracts
Changed
declare
return type tostarknet::ClassHash
, doesn't return aResult
PreparedContract
class_hash
changed tostarknet::ClassHash
deploy
return type toResult::<starknet::ContractAddress, RevertedTransaction>
Fixed
- Using the same cairo file names as corelib files no longer fails test execution
Cast
Added
- multicall as a single transaction
- account creation and deployment
--wait
flag to wait for transaction to be accepted/rejected
Changed
- sierra and casm artifacts are now required in Scarb.toml for contract declaration
- improved error messages
Compatible Scarb Versions
Tool | Scarb Version |
---|---|
snforge
| 0.6.0-alpha.2
|
sncast
| >=0.4.1, <=0.6.0-alpha.2
|