Constants§
- DUMMY_
CREATE_ 🔒ADDRESS - Same reasoning as DUMMY_CALL_OUTPUT, but for creates.
Statics§
- DUMMY_
CALL_ 🔒OUTPUT - For some cheatcodes we may internally change the status of the call, i.e. in
expectRevert
. Solidity will see a successful call and attempt to decode the return data. Therefore, we need to populate the return with dummy bytes so the decode doesn’t fail.
Traits§
- Revert
Parameters 🔒 - Common parameters for expected or assumed reverts. Allows for code reuse.
Functions§
- decode_
revert 🔒 - handle_
assume_ 🔒no_ revert - handle_
expect_ 🔒revert - handle_
revert 🔒 - Core logic for handling reverts that may or may not be expected (or assumed).
- stringify 🔒