From 2e4272e6aa1be8fb52a0a4527225e4ae08a2844e Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Sun, 14 Dec 2025 00:12:30 +0300 Subject: [PATCH] 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. --- pezkuwi/node/network/gossip-support/src/lib.rs | 4 ++-- pezkuwi/node/service/src/lib.rs | 2 +- pezkuwi/primitives/src/v8/mod.rs | 9 +++------ pezkuwi/primitives/src/v9/mod.rs | 9 +++------ pezkuwi/xcm/docs/src/fundamentals.rs | 8 ++++---- pezkuwi/xcm/docs/src/lib.rs | 2 +- 6 files changed, 14 insertions(+), 20 deletions(-) diff --git a/pezkuwi/node/network/gossip-support/src/lib.rs b/pezkuwi/node/network/gossip-support/src/lib.rs index 6b3f9425..448563d5 100644 --- a/pezkuwi/node/network/gossip-support/src/lib.rs +++ b/pezkuwi/node/network/gossip-support/src/lib.rs @@ -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 /// 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); /// 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 // 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 { gum::trace!(target: LOG_TARGET, "We are now a teyrchain validator",); self.metrics.on_is_teyrchain_validator(); diff --git a/pezkuwi/node/service/src/lib.rs b/pezkuwi/node/service/src/lib.rs index e30542a0..fc2bbdfc 100644 --- a/pezkuwi/node/service/src/lib.rs +++ b/pezkuwi/node/service/src/lib.rs @@ -225,7 +225,7 @@ pub enum Error { InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf }, #[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 { given_workers_path: Option, current_exe_path: PathBuf, diff --git a/pezkuwi/primitives/src/v8/mod.rs b/pezkuwi/primitives/src/v8/mod.rs index def77621..5dc37d59 100644 --- a/pezkuwi/primitives/src/v8/mod.rs +++ b/pezkuwi/primitives/src/v8/mod.rs @@ -1927,8 +1927,7 @@ pub struct SessionInfo { /// Validators in canonical ordering. /// /// NOTE: There might be more authorities in the current session, than `validators` - /// participating in parachain consensus. See - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). + /// participating in teyrchain consensus. See `max_validators` in configuration. /// /// `SessionInfo::validators` will be limited to `max_validators` when set. pub validators: IndexedVec, @@ -1936,14 +1935,12 @@ pub struct SessionInfo { /// /// NOTE: The first `validators.len()` entries will match the corresponding validators in /// `validators`, afterwards any remaining authorities can be found. This is any authorities - /// not participating in parachain consensus - see - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148) + /// not participating in teyrchain consensus - see `max_validators` in configuration. pub discovery_keys: Vec, /// The assignment keys for validators. /// /// NOTE: There might be more authorities in the current session, than validators participating - /// in parachain consensus. See - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). + /// in teyrchain consensus. See `max_validators` in configuration. /// /// Therefore: /// ```ignore diff --git a/pezkuwi/primitives/src/v9/mod.rs b/pezkuwi/primitives/src/v9/mod.rs index e9c41bc8..d510b6da 100644 --- a/pezkuwi/primitives/src/v9/mod.rs +++ b/pezkuwi/primitives/src/v9/mod.rs @@ -1553,8 +1553,7 @@ pub struct SessionInfo { /// Validators in canonical ordering. /// /// NOTE: There might be more authorities in the current session, than `validators` - /// participating in teyrchain consensus. See - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). + /// participating in teyrchain consensus. See `max_validators` in configuration. /// /// `SessionInfo::validators` will be limited to `max_validators` when set. pub validators: IndexedVec, @@ -1562,14 +1561,12 @@ pub struct SessionInfo { /// /// NOTE: The first `validators.len()` entries will match the corresponding validators in /// `validators`, afterwards any remaining authorities can be found. This is any authorities - /// not participating in teyrchain consensus - see - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148) + /// not participating in teyrchain consensus - see `max_validators` in configuration. pub discovery_keys: Vec, /// The assignment keys for validators. /// /// NOTE: There might be more authorities in the current session, than validators participating - /// in teyrchain consensus. See - /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). + /// in teyrchain consensus. See `max_validators` in configuration. /// /// Therefore: /// ```ignore diff --git a/pezkuwi/xcm/docs/src/fundamentals.rs b/pezkuwi/xcm/docs/src/fundamentals.rs index 564c3810..67711f82 100644 --- a/pezkuwi/xcm/docs/src/fundamentals.rs +++ b/pezkuwi/xcm/docs/src/fundamentals.rs @@ -28,7 +28,7 @@ //! for them. //! //! 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. //! 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, //! 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). //! //! 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 //! `../../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). //! //! ## Instructions @@ -139,7 +139,7 @@ //! //! 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). //! //! A very simple example is the following: diff --git a/pezkuwi/xcm/docs/src/lib.rs b/pezkuwi/xcm/docs/src/lib.rs index b2db1844..3348e54d 100644 --- a/pezkuwi/xcm/docs/src/lib.rs +++ b/pezkuwi/xcm/docs/src/lib.rs @@ -40,7 +40,7 @@ //! //! ## 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). //! //! ## Why Rust Docs?