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 π