reject_static_write

Function reject_static_write 

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

Reject a state-modifying method invoked under STATICCALL, reverting and consuming all forwarded gas. write lists the state-modifying selectors.