Function static_call

Source
pub fn static_call(
    gas: u64,
    address: &Address,
    input: &[u8],
    result: &mut [u8],
) -> Result<(), Error>
Expand description

Like call, but this call and any of it’s subcalls are disallowed to modify any storage.

It will return an error in this case.