Crate penpal_runtime

Source
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§

ApprovalDeposit
AssetAccountDeposit
AssetConversionOrigin
AssetConversionPalletId
AssetDeposit
AssetsStringLimit
BaseDeliveryFee
The base fee for the message delivery fees (3 CENTS).
CodeHashLockupDepositPercent
ConvertInto
A structure that performs standard conversion using the standard Rust conversion traits.
DepositPerByte
DepositPerItem
EthExtraImpl
Default extensions applied to Ethereum transactions.
ExecutiveBody
ExistentialDeposit
FeeAssetId
The asset ID for the asset that we use to pay for message delivery fees.
ForeignAssetsApprovalDeposit
ForeignAssetsAssetAccountDeposit
ForeignAssetsAssetDeposit
ForeignAssetsAssetsStringLimit
ForeignAssetsMetadataDepositBase
ForeignAssetsMetadataDepositPerByte
LiquidityWithdrawalFee
MessageQueueServiceWeight
MetadataDepositBase
MetadataDepositPerByte
Offset
PalletInfo
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].
Period
Permill
A fixed point representation of a number in the range [0, 1].
PotId
ProofSizeToFee
Maps the proof size component of Weight to a fee.
RefTimeToFee
Maps the reference time component of Weight to a fee.
RelayOrigin
ReservedDmpWeight
ReservedXcmpWeight
Runtime
RuntimeApi
RuntimeApiImpl
Implements all runtime apis for the client side.
RuntimeBlockLength
RuntimeBlockWeights
RuntimeGenesisConfig
RuntimeOrigin
The runtime origin type representing the origin of a call.
SS58Prefix
SessionKeys
SessionLength
TransactionByteFee
Relay Chain TransactionByteFee / 10
Version
WeightToFee
Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.

Enums§

MultiAddress
A multi-format address wrapper for on-chain accounts.
OriginCaller
RuntimeCall
The aggregated runtime call type.
RuntimeError
RuntimeEvent
RuntimeFreezeReason
A reason for placing a freeze on funds.
RuntimeHoldReason
A reason for placing a hold on funds.
RuntimeLockId
An identifier for each lock placed on funds.
RuntimeSlashReason
A reason for slashing funds.
RuntimeTask
An aggregation of all Task enums across all pallets included in the current runtime.
RuntimeViewFunction
Runtime query type.

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_DURATION is picked up by pallet_timestamp which is in turn picked up by pallet_aura to implement fn slot_duration().
MILLIUNIT
MINUTES
RUNTIME_API_VERSIONS
SLOT_DURATION
UNIT
VERSION
WASM_BINARY
WASM_BINARY_BLOATY
WASM_BINARY_PATH

Traits§

BuildStorage
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.
AllPalletsWithSystem
All pallets included in the runtime as a nested tuple of types.
AllPalletsWithoutSystem
All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
AssetConversion
AssetId
AssetTxPayment
Assets
AssetsConfig
AssetsForceOrigin
Aura
AuraConfig
AuraExt
AuraExtConfig
AuraId
An Aura authority identifier using S/R 25519 as its crypto.
Authorship
Balance
Balance of an account.
Balances
BalancesConfig
Block
Block type as expected by this runtime.
BlockId
BlockId type as expected by this runtime.
BlockNumber
An index to a block.
CollatorSelection
CollatorSelectionConfig
CollatorSelectionUpdateOrigin
CumulusXcm
Executive
Executive: handles dispatch to the various modules.
ForeignAssets
ForeignAssetsConfig
ForeignAssetsInstance
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.
LocalAndForeignAssets
Union fungibles implementation for Assets and ForeignAssets.
MessageQueue
Migrations
NativeAndAssets
Union fungibles implementation for LocalAndForeignAssets and Balances.
Nonce
Index of a transaction in the chain.
ParachainInfo
ParachainInfoConfig
ParachainSystem
ParachainSystemConfig
PolkadotXcm
PolkadotXcmConfig
PoolAssets
PoolAssetsConfig
PoolAssetsInstance
PoolIdToAccountId
PriceForSiblingParachainDelivery
Revive
Session
SessionConfig
SignedBlock
A Block signed with a Justification
Sudo
SudoConfig
System
SystemConfig
Timestamp
TransactionPayment
TransactionPaymentConfig
TrustBackedAssetsInstance
TxExtension
The extension to the basic transaction logic.
UncheckedExtrinsic
Unchecked extrinsic type as expected by this runtime.
XcmpQueue