Forge
Added
#[test_case]
attribute for parameterized testing. Read more here
Changed
- Minimal supported
Scarb
version is now2.10.0
(updated from2.9.1
) - Minimal supported
snforge_std
andsnforge_std_deprecated
version is now0.50.0
Fixed
core::testing::get_available_gas
now works correctly in snforge tests
Removed
- Possibility to use
#[available_gas]
with unnamed argument. Use named arguments instead, e.g.#[available_gas(l2_gas: 5)]
. - The deprecated command
snforge init
. Usesnforge new
to initialize newForge
projects
Cast
Added
sncast declare-from
command to declare a contract by fetching it from a different Starknet instance