Module forest_filecoin::shim::fvm_latest::gas

source ·

Structs§

  • A typesafe representation of gas (internally stored as milligas).
  • Single gas charge in the VM. Contains information about what gas was for, as well as the amount of gas needed for computation and storage respectively.
  • Data structure to encapsulate the optional duration which is set by the GasTimer.
  • A handle returned by charge_gas which must be used to mark the end of the execution associated with that gas.
  • Provides prices for operations in the VM. All costs are in milligas.

Constants§

Functions§

Type Aliases§

  • Type alias so that we can disable this with a compiler flag.