Crate pezkuwi_runtime_teyrchains

Crate pezkuwi_runtime_teyrchains 

Source
Expand description

Runtime modules for teyrchains code.

It is crucial to include all the modules from this crate in the runtime, in particular the Initializer module, as it is responsible for initializing the state of the other modules.

Re-exports§

pub use origin::ensure_teyrchain;
pub use origin::Origin;
pub use paras::ParaLifecycle;
pub use paras::UpgradeStrategy;

Modules§

assigner_coretime
The teyrchain coretime assignment module.
configuration
Configuration manager for the Pezkuwi runtime teyrchains logic.
coretime
Extrinsics implementing the relay chain side of the Coretime interface.
disputes
Runtime component for handling disputes of teyrchain candidates.
dmp
To prevent Out of Memory errors on the DownwardMessageQueue, an exponential fee factor (DeliveryFeeFactor) is set. The fee factor increments exponentially after the number of messages in the DownwardMessageQueue passes a threshold. This threshold is set as:
hrmp
inclusion
The inclusion pezpallet is responsible for inclusion and availability of scheduled teyrchains.
initializer
This module is responsible for maintaining a consistent initialization order for all other teyrchains modules. It’s also responsible for finalization and session change notifications.
metrics
Runtime declaration of the teyrchain metrics.
on_demand
The teyrchain on demand assignment module.
origin
Declaration of the teyrchain specific origin and a pezpallet that hosts it.
paras
The paras pezpallet acts as the main registry of paras.
paras_inherent
Provides glue code over the scheduler and inclusion modules, and accepting one inherent per block that can include new para candidates and bitfields.
reward_points
An implementation of the RewardValidators trait used by inclusion that employs pezpallet-staking to compute the rewards.
runtime_api_impl
Runtime API implementations for Teyrchains.
scheduler
The scheduler module for teyrchains and parathreads.
session_info
The session info pezpallet provides information about validator sets from prior sessions needed for approvals and disputes.
shared
A pezpallet for any shared state that other pallets may want access to.

Structs§

GetMinFeeFactor
Helper struct used for accessing FeeTracker::MIN_FEE_FACTOR

Traits§

FeeTracker
Trait for tracking message delivery fees on a transport protocol.

Functions§

schedule_code_upgrade
Schedules a validation code upgrade to a teyrchain with the given id.
schedule_para_cleanup
Schedule a para to be cleaned up at the start of the next session.
schedule_para_initialize
Schedule a para to be initialized at the start of the next session with the given genesis data.
schedule_parathread_upgrade
Schedule a parathread (on-demand teyrchain) to be upgraded to a lease holding teyrchain.
schedule_teyrchain_downgrade
Schedule a lease holding teyrchain to be downgraded to an on-demand teyrchain.
set_current_head
Sets the current teyrchain head with the given id.