github foundry-rs/starknet-foundry v0.60.0
0.60.0

10 hours ago

Forge

Added

  • --launch-debugger flag that allows launching a test in debug mode using cairo-debugger crate.

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.2 token event changes from SNIP-13
  • Minimal recommended Scarb version is now 2.16.1 (updated from 2.14.0)

Fixed

  • Validation of Scarb's compiler config now properly takes into account [cairo] section and keys without unstable- prefix

Cast

Added

  • contract-address command to sncast utils, which calculates the contract address
  • Aliases sncast get transaction and sncast get transaction-status for get tx and get tx-status.
  • Support for serialization of corelib Option and Result, values passed via --arguments
  • --dry-run and --detailed flags 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-profile field in snfoundry.toml, and --scarb-profile cli flag

Changed

  • In JSON output for sncast utils commands, the "command" field now includes the utils prefix (e.g. "serialize" -> "utils serialize").
  • --profile now only determines snfoundry.toml profile. For Scarb profile, use --scarb-profile flag or scarb-profile from snfoundry.toml instead. Defaults to release if unspecified.

Fixed

  • sncast verify now uses the configured network or infers it from the RPC chain ID when --network is omitted.
  • sncast now returns non-zero exit code when a command fails.

Don't miss a new starknet-foundry release

NewReleases is sending notifications on new releases.