Module common_runtime::constants
source · Modules
Structs
- How much of the treasury to burn, if funds remain at the end of the SpendPeriod Set to zero until the economic system is setup and stabilized
- The maximum size of a single item in an itemized storage model (in bytes)
- The maximum size of a page (in bytes) for an Itemized storage model ~ (10KiB) extra 2 bytes is for ItemHeader which enables us to simulate max PoV in benchmarks
- The maximum size of a page (in bytes) for a Paginated storage model (1KiB)
- Bond amount a treasury request must put up to make the proposal This will be transferred to OnSlash if the proposal is rejected
- The maximum length of a schema model (in bytes)
- SS58 Prefix for the for Frequency Network 90 is the prefix for the Frequency Network on Polkadot 42 is the default prefix elsewhere
- Keyless account that holds the money for the treasury
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. - We allow for 2 seconds of compute with a 6 second average block time.
- Update
- 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()
. - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used byOperational
extrinsics. - Generates the pallet “account” 5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z
Type Aliases
- The maximum number of authorities
- The maximum suffix value
- The minimum suffix value
- The upper limit on total stored signatures. Set to an average of 50 signatures per block
- The number of blocks per virtual bucket
- Maximum number of approved proposals per Spending Period Set to 64 or 16 per week
- The maximum number of actions in itemized actions
- The maximum number of pages in a Paginated storage model
- The maximum number of schema grants allowed per delegation
- The maximum number of grants allowed per schema
- The maximum size of the provider name (in bytes)
- The maximum number of public keys per MSA
- Preimage maximum size set to 4 MB Expected to be removed in Polkadot v0.9.31
- Minimum bond for a treasury proposal
- Minimum bond for a treasury proposal
- The maximum number of schema registrations
- The minimum schema model size (in bytes)
- The number of blocks for Stateful mortality is 48 hours
- Relay Chain
TransactionByteFee
/ 10