foundry-rs/forge-std: Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests.
Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests. Forge Standard Library is a collection of helpful contracts and libraries for use with Forge and Foundry. It leverages Forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. Learn how to use Forge-Std with the 📖 Foundry Book (Forge-Std Guide). This is a helper contract for errors and reverts. In Forge, this contract is particularly helpful for the expectRevert cheatcode, as it provides all compiler builtin errors. See the contract itself for all error codes. This is a rather large contract due to all of the overloading to make the UX decent. Primarily, it is a wrapper around the record and accesses cheatcodes. It can always find and write the storage slot(s) associated with a particular vari
Forge Standard Library • Forge Standard Library is a collection of helpful contracts and libraries for use with Forge and Foundry. It leverages Forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. Learn how to use Forge-Std with the 📖 Foundry Book (Forge-Std Guide). Install forge install foundry-rs/forge-std stdError This is a helper contract for errors and reverts. In Forge, this contract is particularly helpful for the expectRevert cheatcode, as it provides all compiler built-in errors. See the contract itself for all error codes.…
saved by
related reading
- REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Mediummedium.com
- EVM Codes - Opcodesevm.codes
- How to add a custom precompile contractgithub.com
- Blake2b F precompile by pdyraga · Pull Request #4 · keep-network/go-ethereumgithub.com
- revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revmgithub.com
- solidity - Are there any examples of using precompiled contracts? - Ethereum Stack Exchangeethereum.stackexchange.com
- Contract ABI Specification — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- go-ethereum/core/vm/contracts.go at bd6879ac518431174a490ba42f7e6e822dcb3ee1 · ethereum/go-ethereum · GitHubgithub.com
- EVM Codesevm.codes
- solidity - How to use Ethereum precompile bn256Pairing to check equality on symmetric groups? - Ethereum Stack Exchangeethereum.stackexchange.com
- Introduction to Smart Contracts — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- Agentationagentation.dev