github foundry-rs/forge-std v1.7.3

latest releases: v1.9.2, v1.9.1, v1.9.0...
10 months ago

Featured Changes

  • feat: add vm.startStateDiffRecording and vm.stopAndReturnStateDiff cheats to record all account accesses and storage accesses, by @Inphi in #481
  • feat: add vm.computeCreateAddress and vm.computeCreate2Address cheats, by @qiweiii in #479
    • These native cheats replace the need for the StdUtils methods of the same now, which will now give a deprecation warning when used.
  • feat: add mock contracts for ERC20 and ERC721, by @andreivladbrg in #470
    • Be aware that these use initializers instead of constructors for compatibility across Solidity versions. Therefore it's recommended to use the deployMockERC20 and deployMockERC721 methods in StdUtils to deploy them.

Other Changes

  • chore: bump version to v1.7.3 by @mds1 in #482

New Contributors

Full Changelog: v1.7.2...v1.7.3

Don't miss a new forge-std release

NewReleases is sending notifications on new releases.