github foundry-rs/starknet-foundry v0.19.0
0.19.0

latest releases: v0.49.0, v0.48.1, v0.48.0...
18 months ago

Forge

⚠️ This version requires installing external universal-sierra-compiler (v2.0.0) Please consider re-installing snfoundryup and/or asdf plugin for automatic installation and upgrades ⚠️

Added

  • replace_bytecode cheatcode
  • result of the call to the trace
  • added --build-profile flag to the --test command. Saves trace data and then builds profiles of test cases which pass and are not fuzz tests. You need cairo-profiler installed on your system.
  • dependency on the universal-sierra-compiler
    binary, which will allow forge to be independent of sierra version

Changed

  • var(), read_txt(), read_json(), FileTrait::new(), declare() now use regular strings (ByteArray) instead of short strings (felt252)
  • start_mock_call(), stop_mock_call(), L1Handler now use selector (selector!()) instead of names

Cast

Changed

  • declare() now uses regular strings (ByteArray) instead of short strings (felt252)
  • call() and invoke() now require function selector (selector!()) instead of function name in scripts (sncast_std)

Removed

  • --path-to-scarb-toml optional flag that allowed to specify the path to the Scarb.toml file
  • --deployed flag from account add subcommand

Don't miss a new starknet-foundry release

NewReleases is sending notifications on new releases.