Expand description
The Rococo runtime for v1 parachains.
Modules§
- api
- dynamic_
params - Dynamic params that can be adjusted at runtime.
- fast_
runtime_ binary - Provides the
WASM_BINARY
build withfast-runtime
feature enabled. - governance
- New governance configurations for the Rococo runtime.
- migrations
- The runtime migrations per release.
- xcm_
config - XCM configuration for Rococo.
Macros§
- impl_
elections_ weights - Implements the weight types for the elections module and a specific
runtime.
This macro should not be called directly; use
impl_runtime_weights
instead.
Structs§
- Announcement
Deposit Base - Announcement
Deposit Factor - Basic
Deposit - Beefy
SetId Session Entries - Block
Execution Weight - Time to execute an empty block.
Calculated by multiplying the Average with
1.0
and adding0
. - Block
Weights - Block weights base values and limits.
- Bonding
Duration - Bounty
Deposit Base - Bounty
Deposit Payout Delay - Bounty
Update Period - Bounty
Value Minimum - Broker
Id - Broker
Pallet Id - Broker
Pot - Burn
- Byte
Deposit - Child
Bounty Value Minimum - Config
Deposit Base - Crowdloan
Id - Curator
Deposit Max - Curator
Deposit Min - Curator
Deposit Multiplier - Data
Deposit PerByte - Deposit
Base - Deposit
Factor - Dynamic
Parameter Origin - Defines what origin can modify which dynamic parameters.
- Ending
Period - Existential
Deposit - Expected
Block Time - Extrinsic
Base Weight - Time to execute a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - Friend
Deposit Factor - Full
Identification Of - Hrmp
Channel Size AndCapacity With System Ratio - Index
Deposit - Intake
Period - IsIdentity
Call - A type to identify calls to the Identity pallet. These will be filtered to prevent invocation, locking the state of the pallet and preventing further updates to identities and sub-identities. The locked state will be the genesis state of a new system chain and then removed from the Relay Chain.
- Leaf
Version - Lease
Period - MaxActive
Child Bounty Count - MaxAdditional
Fields - MaxApprovals
- MaxAuthorities
- MaxBalance
- MaxFriends
- MaxHistorical
Revenue - MaxIntake
Weight - MaxKeys
- MaxLocks
- MaxMemo
Length - MaxPeer
InHeartbeats - MaxPending
- MaxProxies
- MaxRegistrars
- MaxReserves
- MaxScheduled
PerBlock - MaxSet
IdSession Entries - MaxSignatories
- MaxSub
Accounts - MaxTemporary
Slot PerLease Period - MaxXcm
Transact Weight - Maximum
Reason Length - Maximum
Scheduler Weight - MbmService
Weight - Message
Processor - Message processor to handle any messages that were enqueued into the
MessageQueue
pallet. - Message
Queue Heap Size - Message
Queue MaxStale - Message
Queue Service Weight - Amount of weight that can be spent per block to service messages.
- MigController
- Migration
MaxKey Len - Migration
Signed Deposit Base - Migration
Signed Deposit PerItem - MinContribution
- MinReceipt
- MinVested
Transfer - Minimum
Period - NisBase
Period - NisPallet
Id - NoPreimage
Postponement - Offchain
Solution Length Limit - A limit for off-chain phragmen unsigned solution length.
- Offchain
Solution Weight Limit - A limit for off-chain phragmen unsigned solution submission.
- OnDemand
Pallet Id - OnDemand
Traffic Default Value - Operational
FeeMultiplier - This value increases the priority of
Operational
transactions by adding a “virtual tip” that’s equal to theOperationalFeeMultiplier * final_fee
. - Origin
Privilege Cmp - Used the compare the privilege of an origin inside the scheduler.
- Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Para
Deposit - Para
Heads Root Provider - Paras
Unsigned Priority - Parity
DbWeight ParityDB
can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.- Payout
Spend Period - Permanent
Slot Lease Period Length - Prefix
- Preimage
Hold Reason - Proxy
Deposit Base - Proxy
Deposit Factor - Recovery
Deposit - Remove
Keys Limit - Report
Longevity - Reward
Validators - Special
RewardValidators
that does nothing ;) - Rocks
DbWeight - By default, Substrate uses
RocksDB
, so this will be the weight used throughout the runtime. - Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- SS58
Prefix - Sample
Length - Session
Keys - Sessions
PerEra - Society
Pallet Id - Spend
Period - SubAccount
Deposit - Submission
Deposit - Swap
Leases - Temporary
Slot Lease Period Length - Thaw
Throttle - TipCountdown
- TipFinders
Fee - TipReport
Deposit Base - Transaction
Byte Fee - Treasury
Interior Location - Treasury
Pallet Id - Unvested
Funds Allowed Withdraw Reasons - Username
Deposit - Validator
IdOf - Special
ValidatorIdOf
implementation that is just returning the input as result. - Version
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Origin
Caller - Proxy
Type - The type used to represent the kinds of proxying allowed.
- Runtime
Call - The aggregated runtime call type.
- Runtime
Error - Runtime
Event - Runtime
Freeze Reason - A reason for placing a freeze on funds.
- Runtime
Hold Reason - A reason for placing a hold on funds.
- Runtime
Lock Id - An identifier for each lock placed on funds.
- Runtime
Slash Reason - A reason for slashing funds.
- Runtime
Task - An aggregation of all
Task
enums across all pallets included in the current runtime. - Runtime
View Function - Runtime query type.
- System
Call - Contains a variant per dispatchable extrinsic that this pallet has.
Constants§
- AVERAGE_
ON_ INITIALIZE_ RATIO - We assume that an on-initialize consumes 1% of the weight on average, hence a single extrinsic
will not be allowed to consume more than
AvailableBlockRatio - 1%
. - BABE_
GENESIS_ EPOCH_ CONFIG - The BABE epoch configuration at genesis.
- MAXIMUM_
BLOCK_ WEIGHT - We allow for 2 seconds of compute with a 6 second average block time. The storage proof size is not limited so far.
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics. - RUNTIME_
API_ VERSIONS - VERSION
- Runtime version (Rococo).
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Functions§
- native_
version - Native version.
Type Aliases§
- Address
- The address format for describing accounts.
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- Asset
Rate - Assigned
Slots - Assigned
Slots Config - Auctions
- Authority
Discovery - Authority
Discovery Config - Authorship
- Babe
- Babe
Config - Balances
- Balances
Config - Beefy
- Beefy
Config - Block
- Block type as expected by this runtime.
- BlockId
BlockId
type as expected by this runtime.- Bounties
- Child
Bounties - Claims
- Claims
Config - Configuration
- Configuration
Config - Conviction
Voting - Coretime
- Coretime
Assignment Provider - Crowdloan
- Dmp
- Executive
- Executive: handles dispatch to the various modules.
- Fellowship
Collective - Fellowship
Referenda - Grandpa
- Grandpa
Config - Header
- Block header type as expected by this runtime.
- Historical
- Hrmp
- Hrmp
Config - Identity
- Identity
Migrator - Indices
- Indices
Config - Initializer
- Message
Queue - Migrations
- All migrations that will run on the next runtime upgrade.
- Mmr
- MmrLeaf
- Multi
Block Migrations - Multisig
- Nis
- NisCounterpart
Balances - NisCounterpart
Balances Config - Offences
- OnDemand
Assignment Provider - Origins
- Para
Inclusion - Para
Inherent - Para
Scheduler - Para
Session Info - Parachains
Origin - Parameters
- Paras
- Paras
Config - Paras
Disputes - Paras
Shared - Paras
Slashing - Paras
Sudo Wrapper - Preimage
- Proxy
- Recovery
- Referenda
- Registrar
- Registrar
Config - Root
Testing - Scheduler
- Session
- Session
Config - Signed
Block - A Block signed with a Justification
- Signed
Payload - The payload being signed in transactions.
- Slots
- Society
- Society
Config - State
Trie Migration - Sudo
- Sudo
Config - System
- System
Config - Timestamp
- Transaction
Payment - Transaction
Payment Config - Treasury
- Treasury
Config - TxExtension
- The extension to the basic transaction logic.
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Unchecked
Signature Payload - Unchecked signature payload type as expected by this runtime.
- Utility
- Validator
Manager - Vesting
- Vesting
Config - Whitelist
- XcmPallet
- XcmPallet
Config