Skip to main content

revert_cheatcode_call

Function revert_cheatcode_call 

Source
pub(crate) fn revert_cheatcode_call(
    cx: &mut SymCx,
    state: &mut PathState,
    out_offset: SymExpr,
    out_size: &BoundedCopySize,
    return_data: SymReturnData,
) -> Result<(), SymbolicError>
Expand description

Completes a cheatcode call that reverts with return_data, which can be the reverter of a pending vm.expectRevert or vm.assumeNoRevert, including one this frame set.