github foundry-rs/forge-std v1.16.0

6 hours ago

Featured Changes

New cheatcodes and helpers: (#844, #849, foundry#13735)

  • expectAndMockCall — helper for combined expectation and mocking
  • console.table — print tabular output in console
  • currentFilePath() — get the source file path of the currently running test or script contract, relative to the project root

Chain support

  • Added Radius Network to StdChains (#842)
  • Added Gravity mainnet (127001) to StdChains (#848)

Fixes

  • Correct RedeemRequest event parameter from assets to shares (#822)
  • Fix uint256 underflow infinite loop in StdStorage.find() (#833)
  • Make vm.py compatible with Python 3.9 (stock macOS) (#852)

Documentation and Chores

  • Fix depositor terminology in IERC4626 (#825)
  • Correct depositor terminology in IERC7575 (#827)
  • Clarify requestRedeem docs (#831)
  • Add NatSpec for public functions in StdAssertions and StdInvariant (#837)
  • Add NatSpec to StdMath and StdError (#845)
  • Update CODEOWNERS (#836)
  • Update solc versions and add prerelease CI with dynamic matrix (#839)
  • Add 7 day dependency cooldown (#846)
  • Pin all GitHub Actions to SHA (#847)
  • Bump crate-ci/typos CI action (#824, #829, #843, #850)

New Contributors

Full Changelog: v1.15.0...v1.16.0

Don't miss a new forge-std release

NewReleases is sending notifications on new releases.