Module cfg_primitives::constants
source · Expand description
Common constants for all runtimes
Modules§
Constants§
- We assume that ~5% of the block weight is consumed by
on_initialize
handlers. This is used to limit the maximal weight of a single extrinsic. - Block storage limit in bytes. Set to 40 KB.
- Value for a not specified fee key.
- Unhashed 36-bytes prefix for currencies managed by LiquidityPools.
- Defensive weight for processing LP messages;
- Defensive weight parts that are used in LP related pallets.
- We allow for 0.5 seconds of compute with a 6 second average block time.
- The maximum number of fees per pool.
- The maximum number of pool fees per pool fee bucket
- The max length allowed for a tranche token name
- The max length allowed for a tranche token symbol
- 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 bypallet_timestamp
which is in turn picked up bypallet_aura
to implementfn slot_duration()
. - Milliseconds per day
- Minimum vesting amount, in CFG/AIR
- Identification of the native token of the chain. Used in XCM locations.
- We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics. - The safe XCM version of pallet-xcm, same as on relay chain
- The index of the pool admin OpenGov track
- The index of the referendum canceller OpenGov track
- The index of the referendum killer OpenGov track
- The index of the root OpenGov track
- The index of the treasurer OpenGov track
- The index of the whitelisted caller OpenGov track
- Transaction recovery ID used for generating a signature in the Ethereum Transaction pallet. As per: https://github.com/PureStake/moonbeam/blob/fb63014a5e487f17e31283776e4f6b0befd009a2/primitives/xcm/src/ethereum_xcm.rs#L167
- % of fee addressed to the Treasury. The reminder % will be for the block author.