Forge
Added
--launch-debuggerflag that allows launching a test in debug mode usingcairo-debuggercrate.
Tip
This version adds support for using Cairo Debugger in snforge tests!
Check out snforge live debugging guide and VS Code debugging guide to get started 🚀
Changed
- Updated predeployed ETH and STRK token contracts, matching Starknet
v0.14.2token event changes from SNIP-13 - Minimal recommended
Scarbversion is now2.16.1(updated from2.14.0)
Fixed
- Validation of Scarb's compiler config now properly takes into account
[cairo]section and keys withoutunstable-prefix
Cast
Added
contract-addresscommand tosncast utils, which calculates the contract address- Aliases
sncast get transactionandsncast get transaction-statusforget txandget tx-status. - Support for serialization of corelib
OptionandResult, values passed via--arguments --dry-runand--detailedflags for all transaction commands, allowing users to validate transaction logic and estimate fees without submitting to the network- Config setting for Scarb profile, as
scarb-profilefield insnfoundry.toml, and--scarb-profilecli flag
Changed
- In JSON output for
sncast utilscommands, the"command"field now includes theutilsprefix (e.g."serialize"->"utils serialize"). --profilenow only determinessnfoundry.tomlprofile. For Scarb profile, use--scarb-profileflag orscarb-profilefromsnfoundry.tomlinstead. Defaults toreleaseif unspecified.
Fixed
sncast verifynow uses the configured network or infers it from the RPC chain ID when--networkis omitted.sncastnow returns non-zero exit code when a command fails.