Module fvm_wasm_instrument::gas_metering

source ·
Expand description

This module is used to instrument a Wasm module with gas metering code.

The primary public interface is the inject function which transforms a given module into one that charges gas for code to be executed. See function documentation for usage and details.

Structs§

Enums§

Constants§

Traits§

  • An interface that describes instruction costs.

Functions§

  • Transforms a given module into one that charges gas for code to be executed by proxy of an imported gas metering function.