Expand description
§Glutton Runtime
The purpose of the Glutton parachain is to do stress testing on the Kusama network.
There may be multiple instances of the Glutton parachain deployed and connected to Kusama.
These parachains are not holding any real value. Their purpose is to stress test the network.
§Governance
Glutton defers its governance (namely, its Root
origin), to its Relay
Chain parent, Kusama.
§XCM
Since the main goal of Glutton is solely stress testing, the parachain will only be able receive XCM messages from Kusama via DMP. This way the Glutton parachains will be able to listen for upgrades that are coming from the Relay chain.
Modules§
Macros§
- construct_
runtime - Construct a runtime, with the given name and the given pallets.
- parameter_
types - Create new implementations of the
Get
trait.
Structs§
- Block
Execution Weight - Time to execute an empty block.
Calculated by multiplying the Average with
1.0
and adding0
. - Block
Hash Count - Const
Bool - Const getter for a basic type.
- ConstU8
- Const getter for a basic type.
- Const
U32 - Const getter for a basic type.
- Const
U64 - Const getter for a basic type.
- Either
OfDiverse - “OR gate” implementation of
EnsureOrigin
allowing for differentSuccess
types forL
andR
, with them combined using anEither
type. - Extrinsic
Base Weight - Time to execute a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - Identity
Fee - Implementor of
WeightToFee
that maps one unit of weight to one unit of fee. - IsInVec
- Trivial utility for implementing
Contains
/OrderedMembership
with aVec
. - Message
Queue Service Weight - Pallet
Id - A pallet identifier. These are per pallet and should be stored in a registry somewhere.
- Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Perbill
- A fixed point representation of a number in the range [0, 1].
- Permill
- A fixed point representation of a number in the range [0, 1].
- Relay
Origin - Reserved
DmpWeight - 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
Block Length - Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- SS58
Prefix - Session
Keys - Version
- Weight
Enums§
- Dispatch
Class - A generalized group of dispatch types.
- Everything
- A
Contains
implementation that contains every value. - Origin
Caller - Runtime
Call - 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.
Constants§
- 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 bypallet_timestamp
which is in turn picked up bypallet_aura
to implementfn slot_duration()
. - SLOT_
DURATION - VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WEIGHT_
REF_ TIME_ PER_ SECOND
Traits§
- Build
Storage - Complex storage builder stuff.
- Randomness
- A trait that is able to provide randomness.
- Storage
Value - A trait for working with macro-generated storage values under the substrate storage API.
Functions§
- build_
config - Build
GenesisConfig
from a JSON blob not using any defaults and store it in the storage. For more info refer tosp_genesis_builder::GenesisBuilder::build_config
. - create_
default_ config - Get the default
GenesisConfig
as a JSON blob. For more info refer tosp_genesis_builder::GenesisBuilder::create_default_config
- native_
version - The version information used to identify this runtime when compiled natively.
Type Aliases§
- Address
- The address format for describing accounts.
- AllPallets
Deprecated - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Reversed With System First Deprecated - All pallets included in the runtime as a nested tuple of types in reversed order. With the system pallet first.
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
With System Reversed Deprecated - All pallets included in the runtime as a nested tuple of types in reversed order.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- AllPallets
Without System Reversed Deprecated - All pallets included in the runtime as a nested tuple of types in reversed order. Excludes the System pallet.
- Aura
- Aura
Config - AuraExt
- Aura
ExtConfig - AuraId
- An Aura authority identifier using S/R 25519 as its crypto.
- Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Cumulus
Xcm - Executive
- Executive: handles dispatch to the various modules.
- Genesis
Config Deprecated - Glutton
- Glutton
Config - Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- Message
Queue - Nonce
- Index of a transaction in the chain.
- Parachain
Info - Parachain
Info Config - Parachain
System - Parachain
System Config - Signed
Block - A Block signed with a Justification
- Signed
Extra - The SignedExtension to the basic transaction logic.
- Sudo
- Sudo
Config - System
- System
Config - Timestamp
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.