Crate parachains_common Copy item path Source impls Auxiliary struct/enums for parachain runtimes.
Taken from polkadot/runtime/common (at a21cd64) and adapted for parachains. message_queue Helpers to deal with configuring the message queue in the runtime. opaque pay xcm_config UncheckedExtrinsic Simple blob to hold an extrinsic without committing to its format and ensure it is serialized
correctly. AVERAGE_ON_INITIALIZE_RATIO 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. DAYS HOURS MAXIMUM_BLOCK_WEIGHT We allow for 0.5 seconds of compute with a 6 second average block time. MAXIMUM_BLOCK_WEIGHT_FOR_ASYNC_BACKING We allow for 2 seconds of compute with a 6 second average block. MILLISECS_PER_BLOCK 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(). MINUTES NORMAL_DISPATCH_RATIO We allow Normal extrinsics to fill up the block up to 75%, the rest can be used by
Operational extrinsics. SLOT_DURATION TREASURY_PALLET_ID Treasury pallet id of the local chain, used to convert into AccountId AccountId Some way of identifying an account on the chain. We intentionally make it equivalent
to the public key of our transaction signing scheme. AccountIndex The type for looking up accounts. We don’t expect more than 4 billion of them, but you
never know… AssetHubPolkadotAuraId AssetIdForTrustBackedAssets AuraId Balance Balance of an account. Block Opaque block type. BlockId Opaque block identifier type. BlockNumber An index to a block. CollectionId DigestItem Digest item type. Hash A hash of some data used by the chain. Header Opaque block header type. ItemId Nonce Index of a transaction in the chain. Signature Alias to 512-bit hash when used in the context of a transaction signature on the chain.