reject_delegate_nonpure

Function reject_delegate_nonpure 

Source
pub fn reject_delegate_nonpure(
    is_delegate: bool,
    data: &[u8],
    gas_limit: u64,
    pure: &[[u8; 4]],
) -> Option<PrecompileResult>
Expand description

Reject a non-pure method invoked via DELEGATECALL, reverting and consuming all forwarded gas. is_delegate is true when acting as an address other than the precompile; pure lists the stateless selectors.