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§
- 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.
- Holds the XCM specific configuration that would otherwise be in lib.rs
Structs§
- The base fee for the message delivery fees (3 CENTS).
- A structure that performs standard conversion using the standard Rust conversion traits.
- The asset ID for the asset that we use to pay for message delivery fees.
- Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
- Maps the proof size component of
Weight
to a fee. - Maps the reference time component of
Weight
to a fee. - Implements all runtime apis for the client side.
- The runtime origin type representing the origin of a call.
- Relay Chain
TransactionByteFee
/ 10 - Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.
Enums§
- A multi-format address wrapper for on-chain accounts.
- The aggregated runtime call type.
- A reason for placing a freeze on funds.
- A reason for placing a hold on funds.
- An identifier for each lock placed on funds.
- A reason for slashing funds.
- An aggregation of all
Task
enums across all pallets included in the current runtime.
Constants§
- The existential deposit. Set to 1/10 of the Connected Relay Chain.
- 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()
.
Traits§
- Complex storage builder stuff.
Functions§
- The version information used to identify this runtime when compiled natively.
Type Aliases§
- The address format for describing accounts.
- All pallets included in the runtime as a nested tuple of types.
- All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- An Aura authority identifier using S/R 25519 as its crypto.
- Balance of an account.
- Block type as expected by this runtime.
- BlockId type as expected by this runtime.
- An index to a block.
- Executive: handles dispatch to the various modules.
- Another pallet assets instance to store foreign assets from bridgehub.
- A hash of some data used by the chain.
- Block header type as expected by this runtime.
- Union fungibles implementation for
Assets
andForeignAssets
. - Union fungibles implementation for
LocalAndForeignAssets
andBalances
. - Index of a transaction in the chain.
- A Block signed with a Justification
- The SignedExtension to the basic transaction logic.
- Unchecked extrinsic type as expected by this runtime.