github foundry-rs/starknet-foundry v0.38.2
0.38.2

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

Migrating to Scarb 2.11.0

snforge relies on presence of both snforge_std and snforge_scarb_plugin dependencies. Due to changes in dependencies resolving in Scarb action might be necessary to continue using snforge.

If using Scarb version < 2.11.0 with any version of snforge_std

No action needed

If using Scarb version >= 2.11.0 with snforge_std >= 0.38.0

⚠️ We have uncovered the issue with package uploads to registry. Instead of "No action needed", please follow the "If using Scarb version >= 2.11.0 with snforge_std < 0.38.0" section

No action needed

If using Scarb version >= 2.11.0 with snforge_std < 0.38.0

Action required. In your Scarb.toml file, add snforge_scarb_plugin dependency with the version matching that of snforge_std

E.g. change this

snforge_std = "0.34.1"

to this

snforge_std = "0.34.1"
snforge_scarb_plugin = "0.34.1"

Alternatively, we strongly recommend upgrading to at least snforge version 0.38.2. Then, no action is needed as outlined above.

Changelog

Forge

Changed

  • Fork cache version is pinned to the forge version.

Fixed

  • snforge_scarb_plugin now emits an error when parameters are passed without using the #[fuzzer] attribute
  • A bug that was causing execution to hang if using forking

Don't miss a new starknet-foundry release

NewReleases is sending notifications on new releases.