Crate rococo_runtime
source ·Expand description
The Rococo runtime for v1 parachains.
Modules
XCM configuration for Rococo.
Macros
Calls
add_benchmark
with all configs from define_benchmarks
and passes the first two parameters on.Implements the weight types for the elections module and a specific
runtime.
This macro should not be called directly; use [
impl_runtime_weights
] instead.Calls
list_benchmark
with all configs from define_benchmarks
and passes the first two parameters on.Structs
Time to execute an empty block.
Calculated by multiplying the Average with
1
and adding 0
.Block weights base values and limits.
Time to execute a NO-OP extrinsic, for example
System::remark
.
Calculated by multiplying the Average with 1
and adding 0
.Special
FullIdentificationOf
implementation that is returning for every input Some(Default::default())
.Version of the produced MMR leaf.
A limit for off-chain phragmen unsigned solution length.
A limit for off-chain phragmen unsigned solution submission.
This value increases the priority of
Operational
transactions by adding
a “virtual tip” that’s equal to the OperationalFeeMultiplier * final_fee
.The runtime origin type representing the origin of a call.
Provides an implementation of
PalletInfo
to provide information
about the pallet setup in the runtime.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.Special
RewardValidators
that does nothing ;)By default, Substrate uses
RocksDB
, so this will be the weight used throughout
the runtime.Implements all runtime apis for the client side.
Special
ValidatorIdOf
implementation that is just returning the input as result.Enums
Contains one variant per dispatchable that can be called by an extrinsic.
The type used to represent the kinds of proxying allowed.
Contains one variant per dispatchable that can be called by an extrinsic.
Constants
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%
.The BABE epoch configuration at genesis.
We allow for 2 seconds of compute with a 6 second average block time.
We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used
by Operational extrinsics.Runtime version (Rococo).
Functions
Native version.
Type Definitions
The address format for describing accounts.
AllPalletsDeprecated
All pallets included in the runtime as a nested tuple of types.
AllPalletsReversedWithSystemFirstDeprecated
All pallets included in the runtime as a nested tuple of types in reversed order.
With the system pallet first.
All pallets included in the runtime as a nested tuple of types.
AllPalletsWithSystemReversedDeprecated
All pallets included in the runtime as a nested tuple of types in reversed order.
All pallets included in the runtime as a nested tuple of types.
Excludes the System pallet.
AllPalletsWithoutSystemReversedDeprecated
All pallets included in the runtime as a nested tuple of types in reversed order.
Excludes the System pallet.
Block type as expected by this runtime.
BlockId
type as expected by this runtime.Executive: handles dispatch to the various modules.
Block header type as expected by this runtime.
A Block signed with a Justification
The
SignedExtension
to the basic transaction logic.The payload being signed in transactions.
Unchecked extrinsic type as expected by this runtime.