Skip to content

0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Oct 13:46
· 811 commits to master since this release
a8ef6f1

⚠️ This release has some bugs and might not be usable in your projects ⚠️

Fixes are coming in the next few days

Forge

Added

  • #[fuzzer(...)] attribute allowing to specify a fuzzer configuration for a single test case
  • Support for u8, u16, u32, u64, u128, u256 types to fuzzer
  • --clean-cache flag
  • Changed interface of L1Handler.execute and L1Handler (dropped fee parameter, added result handling with RevertedTransaction)
  • Contract now has associated state, more about it here
  • cheatcodes (prank, roll, warp) now work on forked Cairo 0 contracts

Changed

  • Spying events interface is updated to enable the use of events defined inside contracts in assertions
  • Test are executed in parallel
  • Fixed inconsistent pointers bug #659
  • Fixed an issue where deploy_at would not trigger the constructors #805