Forge
Added
- Possibility to set an L2 gas limit via unnamed argument
#[available_gas(...)], equivalent to#[available_gas(l2_gas: ...)]. CACHEDIR.TAGfile is now created in the cache directory.- CASM compilation results are now cached between
snforge testruns. - Support for Starknet v0.14.4
Fixed
- Raw Sierra tests now use compiler-inferred function costs as their initial gas budget, allowing correct gas refunds beyond the contract entry-point precharge.
assert_emittedandassert_not_emittednow display decoded expected events and their emitting contract in failure messages.
Cast
Added
- Allow resource bounds and tip settings under
fee-paramsfield insnfoundry.tomlfor transaction-sending commands. - CASM compilation results are now cached between relevant
sncastcommands.
Changed
--jsonflag is now global, and can be passed to any subcommand.sncast verify --verifier walnuthas been replaced bysncast verify --verifier starkloupe, following Walnut's migration to Starkloupe (app.starkloupe.co)