mirror of
https://github.com/pezkuwichain/pezkuwi-runtime-templates.git
synced 2026-07-24 13:05:41 +00:00
Update documentation and templates for Pezkuwi branding
This commit is contained in:
@@ -2,30 +2,30 @@
|
||||
:highlightjs-languages: rust
|
||||
:github-icon: pass:[<svg class="icon"><use href="#github-icon"/></svg>]
|
||||
|
||||
= cumulus_pezpallet_aura_ext
|
||||
= pezcumulus_pezpallet_aura_ext
|
||||
|
||||
Branch/Release: `release-polkadot-v1.10.0`
|
||||
Branch/Release: `release-pezkuwi-v1.10.0`
|
||||
|
||||
== Purpose
|
||||
|
||||
This pezpallet integrates parachain’s own block production mechanism (for example AuRa) into Cumulus parachain system. It allows:
|
||||
This pezpallet integrates teyrchain’s own block production mechanism (for example AuRa) into Pezpezcumulus teyrchain system. It allows:
|
||||
|
||||
- to manage the unincluded blocks from the current slot
|
||||
- to validate produced block against the relay chain
|
||||
|
||||
== Configuration and Integration link:https://github.com/paritytech/polkadot-sdk/tree/release-polkadot-v1.10.0/cumulus/pezpallets/aura-ext[{github-icon},role=heading-link]
|
||||
== Configuration and Integration link:https://github.com/pezkuwichain/pezkuwi-sdk/tree/release-pezkuwi-v1.10.0/pezcumulus/pezpallets/aura-ext[{github-icon},role=heading-link]
|
||||
|
||||
There is no special config for this integration and it has no dispatchables, but you need to integrate it with other `parachain-system` crate:
|
||||
There is no special config for this integration and it has no dispatchables, but you need to integrate it with other `teyrchain-system` crate:
|
||||
|
||||
=== Integrate `BlockExecutor`
|
||||
|
||||
When you invoke the `register_validate_block` macro, you should provide `cumulus_pezpallet_aura_ext::BlockExecutor` to it to allow `aura-ext` to validate the blocks produced by `aura`
|
||||
When you invoke the `register_validate_block` macro, you should provide `pezcumulus_pezpallet_aura_ext::BlockExecutor` to it to allow `aura-ext` to validate the blocks produced by `aura`
|
||||
|
||||
[source, rust]
|
||||
----
|
||||
cumulus_pezpallet_parachain_system::register_validate_block! {
|
||||
pezcumulus_pezpallet_teyrchain_system::register_validate_block! {
|
||||
Runtime = Runtime,
|
||||
BlockExecutor = cumulus_pezpallet_aura_ext::BlockExecutor::<Runtime, Executive>,
|
||||
BlockExecutor = pezcumulus_pezpallet_aura_ext::BlockExecutor::<Runtime, Executive>,
|
||||
}
|
||||
----
|
||||
|
||||
@@ -35,12 +35,12 @@ Also you might want to manage the consensus externally and control the segment t
|
||||
|
||||
[source, rust]
|
||||
----
|
||||
impl cumulus_pezpallet_parachain_system::Config for Runtime {
|
||||
impl pezcumulus_pezpallet_teyrchain_system::Config for Runtime {
|
||||
...
|
||||
type ConsensusHook = cumulus_pezpallet_aura_ext::FixedVelocityConsensusHook<
|
||||
type ConsensusHook = pezcumulus_pezpallet_aura_ext::FixedVelocityConsensusHook<
|
||||
Runtime,
|
||||
RELAY_CHAIN_SLOT_DURATION_MILLIS,
|
||||
BLOCK_PROCESSING_VELOCITY,
|
||||
BLOCK_PTYRESSING_VELOCITY,
|
||||
UNINCLUDED_SEGMENT_CAPACITY,
|
||||
>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user