Crate local_runtime

source ·

Modules§

Structs§

Enums§

Constants§

  • The asset precompile address prefix. Addresses that match against this prefix will be routed to Erc20AssetsPrecompileSet
  • Current approximation of the gas/s consumption considering EVM execution over compiled WASM (on 4.4Ghz CPU). Given the 500ms Weight, from which 75% only are used for transactions, the total EVM execution gas limit is: GAS_PER_SECOND * 0.500 * 0.75 ~= 15_000_000.
  • Constant values used within the runtime.
  • This determines the average expected block time that we are targeting. Blocks will be produced at a minimum duration defined by SLOT_DURATION. SLOT_DURATION is picked up by pallet_timestamp which is in turn picked up by pallet_aura to implement fn slot_duration().
  • Approximate ratio of the amount of Weight per Gas. u64 works for approximations because Weight is a very small unit compared to gas.

Traits§

Functions§

  • Charge fee for stored bytes and items.
  • The version information used to identify this runtime when compiled natively.
  • Wasm binary unwrapped. If built with BUILD_DUMMY_WASM_BINARY, the function panics.

Type Aliases§