gear_core

Module gas_metering

Source
Expand description

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

Structs§

Enums§

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.
  • Helper procedure that makes adjustments after gas metering function injected.