foundry_cheatcodes::test

Module expect

Source

Structs§

Enums§

Constants§

Statics§

  • 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.

Functions§

Type Aliases§