Crate runtime_common

source ·

Re-exports

Modules

  • KILT Decentralized Identity Provider (DIP) provider specification
  • Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.
  • Unique identifiers for pallets.

Structs

  • The adjustment variable of the runtime. Higher values will cause TargetBlockFullness to change the fees more rapidly.
  • Time to execute an empty block. Calculated by multiplying the Average with 1.0 and adding 0.
  • Maximum length of block. Up to 5MB.
  • Block weights base values and limits.
  • Time to execute a NO-OP extrinsic, for example System::remark. Calculated by multiplying the Average with 1.0 and adding 0.
  • Fee split ratio between treasury and block author (order is important).
  • The maximum amount of the multiplier.
  • Minimum amount of the multiplier. This value cannot be too low. A test case should ensure that combined with AdjustmentVariable, we can recover from the minimum. See multiplier_can_grow_from_zero.
  • By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.
  • The portion of the NORMAL_DISPATCH_RATIO that we adjust the fees with. Blocks filled less than this will decrease the weight and more will increase.

Type Aliases