Skip to main content

apply_mocked_function

Function apply_mocked_function 

Source
fn apply_mocked_function<FEN: FoundryEvmNetwork>(
    cheatcodes: &Cheatcodes<FEN>,
    interp: &mut InterpreterFor<'_, '_, FEN>,
    message: &mut MessageFor<FEN>,
)
Expand description

Redirects message to the implementation set with vm.mockFunction, if one matches.