0.5.0
Forge
Added
- support for
keccak_syscall
syscall - it can be used directly in cairo tests l1_handler_execute
cheatcode by @glihm- support for
roll
ing/warp
ing/prank
ing the constructor logic (precalculate address, prank, assert pranked state in constructor) spy_events
cheatcode- support for printing in contracts
spoof
cheatcode
Cast
Added
- Support for custom networks - accounts created on custom networks are saved in
accounts-file
under network's
chain_id accounts-file
field in Scarb.toml profile- Include the class hash of an account contract in the
accounts-file
Removed
--network
option together with thenetwork
field in Scarb.toml profile — previously used as a validation factor;
now networks are identified by their chain_id
Other contributors: @amlord , @tiagofneto
Compatible Scarb Versions
Tool | Scarb Version |
---|---|
snforge |
0.7.0 |
sncast |
>=0.4.1, <=0.7.0 |