pub type SystemOrCodeCall<'a> = dyn FnMut(SystemOrCodeCallKind, Vec<u8>) -> Result<Vec<u8>, String> + 'a;
Expand description

A system-calling closure. Enacts calls on a block’s state with code either from an on-chain contract, or hard-coded EVM or WASM (if enabled on-chain) codes.