Static evm_adapters::sputnik::cheatcodes::cheatcode_handler::DUMMY_OUTPUT [−][src]
pub static DUMMY_OUTPUT: [u8; 320]
Expand description
For certain cheatcodes, we may internally change the status of the call, i.e. in
expectRevert
. Solidity will see a successful call and attempt to abi.decode for the called
function. Therefore, we need to populate the return with dummy bytes such that the decode
doesn’t fail