Expand description
The PenPal runtime is designed as a test runtime that can be created with an arbitrary ParaId,
such that multiple instances of the parachain can be on the same parent relay. Ensure that you
have enough nodes running to support this or you will get scheduling errors.
The PenPal runtime’s primary use is for testing interactions between System parachains and other chains that are not trusted teleporters.
Modules§
- api
- opaque
- Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.
- xcm_
config - Holds the XCM specific configuration that would otherwise be in lib.rs
Structs§
- Approval
Deposit - Asset
Account Deposit - Asset
Deposit - Assets
String Limit - Base
Delivery Fee - The base fee for the message delivery fees (3 CENTS).
- Convert
Into - A structure that performs standard conversion using the standard Rust conversion traits.
- Executive
Body - Existential
Deposit - FeeAsset
Id - The asset ID for the asset that we use to pay for message delivery fees.
- Foreign
Assets Approval Deposit - Foreign
Assets Asset Account Deposit - Foreign
Assets Asset Deposit - Foreign
Assets Assets String Limit - Foreign
Assets Metadata Deposit Base - Foreign
Assets Metadata Deposit PerByte - Message
Queue Service Weight - Metadata
Deposit Base - Metadata
Deposit PerByte - Offset
- Pallet
Info - Provides an implementation of
PalletInfoto provide information about the pallet setup in the runtime. - Perbill
- A fixed point representation of a number in the range [0, 1].
- Period
- Permill
- A fixed point representation of a number in the range [0, 1].
- PotId
- Proof
Size ToFee - Maps the proof size component of
Weightto a fee. - RefTime
ToFee - Maps the reference time component of
Weightto a fee. - Relay
Origin - Reserved
DmpWeight - Reserved
Xcmp Weight - 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 - Session
Length - Transaction
Byte Fee - Relay Chain
TransactionByteFee/ 10 - Version
- Weight
ToFee - Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.
Enums§
- Multi
Address - A multi-format address wrapper for on-chain accounts.
- Origin
Caller - 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
Taskenums across all pallets included in the current runtime.
Constants§
- DAYS
- EXISTENTIAL_
DEPOSIT - The existential deposit. Set to 1/10 of the Connected Relay Chain.
- HOURS
- MICROUNIT
- 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_DURATIONis picked up bypallet_timestampwhich is in turn picked up bypallet_aurato implementfn slot_duration(). - MILLIUNIT
- MINUTES
- RUNTIME_
API_ VERSIONS - SLOT_
DURATION - UNIT
- VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY
Traits§
- Build
Storage - Complex storage builder stuff.
Functions§
- native_
version - The version information used to identify this runtime when compiled natively.
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.
- AssetId
- Asset
TxPayment - Assets
- Assets
Config - Aura
- Aura
Config - AuraExt
- Aura
ExtConfig - AuraId
- An Aura authority identifier using S/R 25519 as its crypto.
- Authorship
- Balance
- Balance of an account.
- Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Collator
Selection - Collator
Selection Config - Collator
Selection Update Origin - Cumulus
Xcm - Executive
- Executive: handles dispatch to the various modules.
- Foreign
Assets - Foreign
Assets Config - Foreign
Assets Instance - Another pallet assets instance to store foreign assets from bridgehub.
- Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- Message
Queue - Migrations
- Nonce
- Index of a transaction in the chain.
- Parachain
Info - Parachain
Info Config - Parachain
System - Parachain
System Config - Polkadot
Xcm - Polkadot
XcmConfig - Price
ForSibling Parachain Delivery - Session
- Session
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
- Transaction
Payment - Transaction
Payment Config - Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Xcmp
Queue