gear_wasm_instrument::gas_metering

Function post_injection_handler

Source
pub fn post_injection_handler<R>(
    module: Module,
    rules: &R,
    gas_charge_index: usize,
) -> Result<Module, Module>
where R: Rules,
Expand description

Helper procedure that makes adjustments after gas metering function injected.

See documentation for inject for more details.