v1.5.4
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:
- Find the cheats here.
- The two forge-std PRs by @iFrostizz: #357 and #358
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:
- Find the cheats here
- The forge-std PR by @reubenr0d in #360
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