refactor: Update remaining ParityTech references to PezkuwiChain
This commit finalizes the update of ParityTech references to PezkuwiChain within the module. Specifically: - All URLs in xcm documentation were updated to . - and URLs in module were updated to point to internal paths. - The readme reference was updated from to . - Deprecated URLs for in and were replaced with generic comments. - A specific issue reference in was generalized. These changes ensure consistency with the PezkuwiChain branding and repository structure.
This commit is contained in:
@@ -86,7 +86,7 @@ const TRY_RERESOLVE_AUTHORITIES: Duration = Duration::from_secs(2);
|
|||||||
/// populated). Authority discovery on Kusama takes around 8 minutes, so warning after 10 minutes
|
/// populated). Authority discovery on Kusama takes around 8 minutes, so warning after 10 minutes
|
||||||
/// should be fine:
|
/// should be fine:
|
||||||
///
|
///
|
||||||
/// https://github.com/paritytech/bizinikiwi/blob/fc49802f263529160635471c8a17888846035f5d/client/authority-discovery/src/lib.rs#L88
|
/// https://github.com/pezkuwichain/kurdistan-sdk/blob/main/bizinikiwi/client/authority-discovery/src/lib.rs#L88
|
||||||
const LOW_CONNECTIVITY_WARN_DELAY: Duration = Duration::from_secs(600);
|
const LOW_CONNECTIVITY_WARN_DELAY: Duration = Duration::from_secs(600);
|
||||||
|
|
||||||
/// If connectivity is lower than this in percent, issue warning in logs.
|
/// If connectivity is lower than this in percent, issue warning in logs.
|
||||||
@@ -452,7 +452,7 @@ where
|
|||||||
|
|
||||||
// First `maxValidators` entries are the teyrchain validators. We'll check
|
// First `maxValidators` entries are the teyrchain validators. We'll check
|
||||||
// if our index is in this set to avoid searching for the keys.
|
// if our index is in this set to avoid searching for the keys.
|
||||||
// https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148
|
// https://github.com/pezkuwichain/kurdistan-sdk/blob/main/pezkuwi/runtime/teyrchains/src/configuration.rs#L148
|
||||||
if *index < teyrchain_validators_this_session {
|
if *index < teyrchain_validators_this_session {
|
||||||
gum::trace!(target: LOG_TARGET, "We are now a teyrchain validator",);
|
gum::trace!(target: LOG_TARGET, "We are now a teyrchain validator",);
|
||||||
self.metrics.on_is_teyrchain_validator();
|
self.metrics.on_is_teyrchain_validator();
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ pub enum Error {
|
|||||||
InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf },
|
InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf },
|
||||||
|
|
||||||
#[cfg(feature = "full-node")]
|
#[cfg(feature = "full-node")]
|
||||||
#[error("Worker binaries could not be found, make sure pezkuwi was built and installed correctly. Please see the readme for the latest instructions (https://github.com/paritytech/polkadot-sdk/tree/master/polkadot). If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), pezkuwi binary path ({current_exe_path:?}), and lib path (/usr/lib/pezkuwi), workers names: {workers_names:?}")]
|
#[error("Worker binaries could not be found, make sure pezkuwi was built and installed correctly. Please see the readme for the latest instructions (https://github.com/pezkuwichain/pezkuwi-sdk/tree/master/pezkuwi). If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), pezkuwi binary path ({current_exe_path:?}), and lib path (/usr/lib/pezkuwi), workers names: {workers_names:?}")]
|
||||||
MissingWorkerBinaries {
|
MissingWorkerBinaries {
|
||||||
given_workers_path: Option<PathBuf>,
|
given_workers_path: Option<PathBuf>,
|
||||||
current_exe_path: PathBuf,
|
current_exe_path: PathBuf,
|
||||||
|
|||||||
@@ -1927,8 +1927,7 @@ pub struct SessionInfo {
|
|||||||
/// Validators in canonical ordering.
|
/// Validators in canonical ordering.
|
||||||
///
|
///
|
||||||
/// NOTE: There might be more authorities in the current session, than `validators`
|
/// NOTE: There might be more authorities in the current session, than `validators`
|
||||||
/// participating in parachain consensus. See
|
/// participating in teyrchain consensus. See `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
|
|
||||||
///
|
///
|
||||||
/// `SessionInfo::validators` will be limited to `max_validators` when set.
|
/// `SessionInfo::validators` will be limited to `max_validators` when set.
|
||||||
pub validators: IndexedVec<ValidatorIndex, ValidatorId>,
|
pub validators: IndexedVec<ValidatorIndex, ValidatorId>,
|
||||||
@@ -1936,14 +1935,12 @@ pub struct SessionInfo {
|
|||||||
///
|
///
|
||||||
/// NOTE: The first `validators.len()` entries will match the corresponding validators in
|
/// NOTE: The first `validators.len()` entries will match the corresponding validators in
|
||||||
/// `validators`, afterwards any remaining authorities can be found. This is any authorities
|
/// `validators`, afterwards any remaining authorities can be found. This is any authorities
|
||||||
/// not participating in parachain consensus - see
|
/// not participating in teyrchain consensus - see `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148)
|
|
||||||
pub discovery_keys: Vec<AuthorityDiscoveryId>,
|
pub discovery_keys: Vec<AuthorityDiscoveryId>,
|
||||||
/// The assignment keys for validators.
|
/// The assignment keys for validators.
|
||||||
///
|
///
|
||||||
/// NOTE: There might be more authorities in the current session, than validators participating
|
/// NOTE: There might be more authorities in the current session, than validators participating
|
||||||
/// in parachain consensus. See
|
/// in teyrchain consensus. See `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
|
|
||||||
///
|
///
|
||||||
/// Therefore:
|
/// Therefore:
|
||||||
/// ```ignore
|
/// ```ignore
|
||||||
|
|||||||
@@ -1553,8 +1553,7 @@ pub struct SessionInfo {
|
|||||||
/// Validators in canonical ordering.
|
/// Validators in canonical ordering.
|
||||||
///
|
///
|
||||||
/// NOTE: There might be more authorities in the current session, than `validators`
|
/// NOTE: There might be more authorities in the current session, than `validators`
|
||||||
/// participating in teyrchain consensus. See
|
/// participating in teyrchain consensus. See `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
|
|
||||||
///
|
///
|
||||||
/// `SessionInfo::validators` will be limited to `max_validators` when set.
|
/// `SessionInfo::validators` will be limited to `max_validators` when set.
|
||||||
pub validators: IndexedVec<ValidatorIndex, ValidatorId>,
|
pub validators: IndexedVec<ValidatorIndex, ValidatorId>,
|
||||||
@@ -1562,14 +1561,12 @@ pub struct SessionInfo {
|
|||||||
///
|
///
|
||||||
/// NOTE: The first `validators.len()` entries will match the corresponding validators in
|
/// NOTE: The first `validators.len()` entries will match the corresponding validators in
|
||||||
/// `validators`, afterwards any remaining authorities can be found. This is any authorities
|
/// `validators`, afterwards any remaining authorities can be found. This is any authorities
|
||||||
/// not participating in teyrchain consensus - see
|
/// not participating in teyrchain consensus - see `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148)
|
|
||||||
pub discovery_keys: Vec<AuthorityDiscoveryId>,
|
pub discovery_keys: Vec<AuthorityDiscoveryId>,
|
||||||
/// The assignment keys for validators.
|
/// The assignment keys for validators.
|
||||||
///
|
///
|
||||||
/// NOTE: There might be more authorities in the current session, than validators participating
|
/// NOTE: There might be more authorities in the current session, than validators participating
|
||||||
/// in teyrchain consensus. See
|
/// in teyrchain consensus. See `max_validators` in configuration.
|
||||||
/// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148).
|
|
||||||
///
|
///
|
||||||
/// Therefore:
|
/// Therefore:
|
||||||
/// ```ignore
|
/// ```ignore
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
//! for them.
|
//! for them.
|
||||||
//!
|
//!
|
||||||
//! The language evolves over time to accomodate the needs of the community
|
//! The language evolves over time to accomodate the needs of the community
|
||||||
//! via the [RFC process](https://github.com/paritytech/xcm-format/blob/master/proposals/0032-process.md).
|
//! via the [RFC process](https://github.com/pezkuwichain/xcm-format/blob/master/proposals/0032-process.md).
|
||||||
//!
|
//!
|
||||||
//! XCM is the language, it deals with interpreting and executing programs.
|
//! XCM is the language, it deals with interpreting and executing programs.
|
||||||
//! It does not deal with actually **sending** these programs from one consensus system to another.
|
//! It does not deal with actually **sending** these programs from one consensus system to another.
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
//!
|
//!
|
||||||
//! Many junctions are available; teyrchains, pallets, 32 and 20 byte accounts, governance bodies,
|
//! Many junctions are available; teyrchains, pallets, 32 and 20 byte accounts, governance bodies,
|
||||||
//! and arbitrary indices are the most common.
|
//! and arbitrary indices are the most common.
|
||||||
//! A full list of available junctions can be found in the [format](https://github.com/paritytech/xcm-format#interior-locations--junctions)
|
//! A full list of available junctions can be found in the [format](https://github.com/pezkuwichain/xcm-format#interior-locations--junctions)
|
||||||
//! and [Junction enum](xcm::v4::prelude::Junction).
|
//! and [Junction enum](xcm::v4::prelude::Junction).
|
||||||
//!
|
//!
|
||||||
//! We'll use a file system notation to represent locations, and start with relative locations.
|
//! We'll use a file system notation to represent locations, and start with relative locations.
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
//! network. These are represented as `../Teyrchain(2004)/PalletInstance(10)` and
|
//! network. These are represented as `../Teyrchain(2004)/PalletInstance(10)` and
|
||||||
//! `../../GlobalConsensus(Kusama)` respectively.
|
//! `../../GlobalConsensus(Kusama)` respectively.
|
||||||
//!
|
//!
|
||||||
//! The whole type can be seen in the [format](https://github.com/paritytech/xcm-format#6-universal-asset-identifiers)
|
//! The whole type can be seen in the [format](https://github.com/pezkuwichain/xcm-format#6-universal-asset-identifiers)
|
||||||
//! and [rust docs](xcm::v4::prelude::Asset).
|
//! and [rust docs](xcm::v4::prelude::Asset).
|
||||||
//!
|
//!
|
||||||
//! ## Instructions
|
//! ## Instructions
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
//!
|
//!
|
||||||
//! XCM programs are composed of a sequence of instructions.
|
//! XCM programs are composed of a sequence of instructions.
|
||||||
//!
|
//!
|
||||||
//! All available instructions can be seen in the [format](https://github.com/paritytech/xcm-format#5-the-xcvm-instruction-set)
|
//! All available instructions can be seen in the [format](https://github.com/pezkuwichain/xcm-format#5-the-xcvm-instruction-set)
|
||||||
//! and the [Instruction enum](xcm::v4::prelude::Instruction).
|
//! and the [Instruction enum](xcm::v4::prelude::Instruction).
|
||||||
//!
|
//!
|
||||||
//! A very simple example is the following:
|
//! A very simple example is the following:
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ## Contribute
|
//! ## Contribute
|
||||||
//!
|
//!
|
||||||
//! To contribute to the format, check out the [RFC process](https://github.com/paritytech/xcm-format/blob/master/proposals/0032-process.md).
|
//! To contribute to the format, check out the [RFC process](https://github.com/pezkuwichain/xcm-format/blob/master/proposals/0032-process.md).
|
||||||
//! To contribute to these docs, [make a PR](https://github.com/pezkuwichain/pezkuwi-sdk).
|
//! To contribute to these docs, [make a PR](https://github.com/pezkuwichain/pezkuwi-sdk).
|
||||||
//!
|
//!
|
||||||
//! ## Why Rust Docs?
|
//! ## Why Rust Docs?
|
||||||
|
|||||||
Reference in New Issue
Block a user