github foundry-rs/forge-std v1.15.0

8 hours ago

Featured Changes

New cheatcodes: (#819, #810)

  • createEd25519Key(bytes32 salt) — deterministic Ed25519 key generation
  • publicKeyEd25519(bytes32 privateKey) — derive Ed25519 public key
  • signEd25519(namespace, message, privateKey) — Ed25519 signing with domain separation
  • verifyEd25519(signature, namespace, message, publicKey) — Ed25519 signature verification
  • getRecordedLogsJson() — get recorded logs as JSON string
  • executeTransaction(bytes rawTx) — execute RLP-encoded signed tx with full EVM semantics (isolate mode)
  • sign / signCompact with Wallet now marked pure

Tempo chain support (#794)

  • Added tempo (chain ID 4217), tempo_moderato (42431), tempo_andantino (42429) to StdChains
  • feat: update Vm.sol with new cheatcodes by @gakonst in #819

Fixes

  • Correct function selector computation (#796)
  • Fix error messages in stdStorage checked_write (#802)
  • Fix error message in dealERC721 (#800)
  • Fix error message in dealERC1155 (#801)

Documentation and Chores

  • Add StdConfig documentation to README (#817)
  • Add one-line explainers for each StdInvariant function (#813)
  • Fix outdated StdCheats and Std Assertions descriptions in README (#812, #814)
  • Fix IERC4626 previewWithdraw comment (#811)
  • Fix IERC7575 previewWithdraw comment (#816)
  • Fix copy-paste error in IERC7540Redeem comment (#798)
  • Fix missing int type in StdConfig comment (#797)
  • Fix incorrect stdStorage packed slots documentation (#804)
  • Fix typos in StdToml code examples and comments (#786)
  • Fix grammatical errors in Vm.sol, IERC7540.sol, IERC7575.sol, IERC4626.sol comments (#781, #782, #783)
  • Grammar fixes in StdChains.sol and StdConfig.sol (#784)
  • General spelling and grammar fixes (#785, #788, #789, #791)
  • Update RPC URLs from ithaca.xyz to reth.rs (#805)
  • Bump crate-ci/typos CI action (#799, #807, #815, #818)

New Contributors

Full Changelog: v1.14.0...v1.15.0

Don't miss a new forge-std release

NewReleases is sending notifications on new releases.