github foundry-rs/forge-std v1.5.4

latest releases: v1.9.3, v1.9.2, v1.9.1...
17 months ago

Featured Changes

Breakpoints

Use vm.breakpoint(string calldata char) and vm.breakpoint(string calldata char, bool value) to set breakpoints when using the debugger. Jump to those breakpoints using '<char>. The bool overload lets you set conditional breakpoints.

More info:

Expect Zero or Many Calls

The vm.expectCall cheats have a new overload that takes a count, which is the number of times you expect that call to be made in the next call. Use a value of zero if you want to test that a call does not occur.

More info:

Other Changes

  • refactor: provide pure bound int that has no console.logs by @PaulRBerg in #350
  • fix: removed unnecessary todo comment by @dd0sxx in #354
  • docs: improve writing in StdChains comments by @PaulRBerg in #355
  • chore: bump to v1.5.4 by @mds1 in #362

New Contributors

Full Changelog: v1.5.3...v1.5.4

Don't miss a new forge-std release

NewReleases is sending notifications on new releases.