You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Forge
Added
declare! macro for declaring contracts using Cairo paths. Read more here.
Debugging traces now display the class hash for forked contracts.
declare_from_file function for declaring contracts from Sierra contract class JSON files. Read more here.
Changed
Actual and Expected panic data in the #[should_panic] mismatch message now labels rendered values inline, making it clear whether each value is a ByteArray or a felt252.
Minimal recommended Scarb version is now 2.18.0 (updated from 2.17.0)
Re-enabled the add-types-debug-info = true requirement for --launch-debugger on Scarb >= 2.20.0
Fixed
Malformed byte array panic data (e.g. an untrusted words length) no longer causes a crash when matching #[should_panic] expected data. Additionally, invalid byte array serializations (e.g. bad pending_word_len) are now rejected instead of rendered as a corrupted string.
Cast
Added
--contract-address flag to get balance command, allowing to check balance for any contract, not only accounts
get state-update command that fetches the state update for a given block
Optional --private-key and --private-key-file in account create command to allow specifying a private key for the newly created account
Changed
sncast show-config now displays network URL overrides specified under [sncast.<profile>.networks].
Fixed
Re-enabled StarkScan as a supported block-explorer option (currently available only for mainnet).
get balance command for undeployed accounts
Removed
Cairo deployment scripts (sncast script command and sncast_std library).
Deprecated top-level sncast tx-status and sncast balance commands. Use sncast get tx-status and sncast get balance instead.