From 540661e02e76cdd0289b698833d34f36ec16c5dc Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Thu, 25 Dec 2025 05:15:26 +0300 Subject: [PATCH] docs: fix broken rustdoc links across codebase - Fix vendor/zombienet-sdk deprecated method doc links - Fix vendor/subxt doc links (eth::PublicKey, Client) - Fix vendor/ss58-registry TokenRegistry doc link - Fix pezpallet-presale event comment causing doc parse error - Fix pezframe-support broken Config trait link - Rebrand pezpallet-revive README with correct crate names and URLs --- bizinikiwi/pezframe/revive/README.md | 12 ++++++------ bizinikiwi/pezframe/support/src/lib.rs | 3 +-- pezcumulus/teyrchains/pezpallets/presale/src/lib.rs | 2 +- .../rpcs/src/client/reconnecting_rpc_client/mod.rs | 2 +- vendor/pezkuwi-subxt/signer/src/eth.rs | 2 +- .../crates/configuration/src/relaychain.rs | 4 ++-- .../crates/configuration/src/teyrchain.rs | 4 ++-- .../crates/orchestrator/src/generators/chain_spec.rs | 4 ++-- .../crates/orchestrator/src/network/node.rs | 6 +++--- vendor/ss58-registry/src/token.rs | 2 +- 10 files changed, 20 insertions(+), 21 deletions(-) diff --git a/bizinikiwi/pezframe/revive/README.md b/bizinikiwi/pezframe/revive/README.md index 83a0e8bb..87657bbe 100644 --- a/bizinikiwi/pezframe/revive/README.md +++ b/bizinikiwi/pezframe/revive/README.md @@ -1,12 +1,12 @@ # Revive Pezpallet This is an **experimental** module that provides functionality for the runtime to deploy and execute PolkaVM -smart-contracts. It is a heavily modified `pallet_contracts` fork. +smart-contracts. It is a heavily modified `pezpallet_contracts` fork. ## Overview -This module extends accounts based on the [`frame_support::traits::fungible`] traits to have smart-contract -functionality. It can be used with other modules that implement accounts based on [`frame_support::traits::fungible`]. +This module extends accounts based on the [`pezframe_support::traits::fungible`] traits to have smart-contract +functionality. It can be used with other modules that implement accounts based on [`pezframe_support::traits::fungible`]. These "smart-contract accounts" have the ability to instantiate smart-contracts and make calls to other contract and non-contract accounts. @@ -20,7 +20,7 @@ Finally, when an account is reaped, its associated code and storage of the smart ### Weight -Senders must specify a [`Weight`](https://docs.pezkuwichain.io/bizinikiwi/master/sp_weights/struct.Weight.html) limit +Senders must specify a [`Weight`](https://docs.pezkuwichain.io/bizinikiwi/master/pezsp_weights/struct.Weight.html) limit with every call, as all instructions invoked by the smart-contract require weight. Unused weight is refunded after the call, regardless of the execution outcome. @@ -79,7 +79,7 @@ to handle that failure, either proceeding or reverting A's changes. ### Dispatchable functions Those are documented in the [reference -documentation](https://docs.pezkuwichain.io/sdk/master/pallet_revive/pezpallet/dispatchables/index.html). +documentation](https://docs.pezkuwichain.io/sdk/master/pezpallet_revive/pezpallet/dispatchables/index.html). ## Usage @@ -108,7 +108,7 @@ concept of an unstable interface. Akin to the rust nightly compiler it allows us unstable so that contract languages can experiment with them and give feedback before we stabilize those. In order to access interfaces which don't have a stable `#[stable]` in [`runtime.rs`](src/vm/runtime.rs) -one need to set `pallet_revive::Config::UnsafeUnstableInterface` to `ConstU32`. +one need to set `pezpallet_revive::Config::UnsafeUnstableInterface` to `ConstU32`. **It should be obvious that any production runtime should never be compiled with this feature: In addition to be subject to change or removal those interfaces might not have proper weights associated with them and are therefore considered unsafe**. diff --git a/bizinikiwi/pezframe/support/src/lib.rs b/bizinikiwi/pezframe/support/src/lib.rs index a3424d1f..7b1ff31f 100644 --- a/bizinikiwi/pezframe/support/src/lib.rs +++ b/bizinikiwi/pezframe/support/src/lib.rs @@ -1041,8 +1041,7 @@ pub mod pezpallet_macros { /// ``` /// /// I.e. a regular trait definition named `Config`, with the supertrait - /// [`pezframe_system::pezpallet::Config`](../../pezframe_system/pezpallet/trait.Config. - /// html), and optionally other supertraits and a where clause. (Specifying other + /// `pezframe_system::pezpallet::Config`, and optionally other supertraits and a where clause. (Specifying other /// supertraits here is known as [tight coupling](https://docs.pezkuwichain.io/reference/how-to-guides/pezpallet-design/use-tight-coupling/)) /// /// ## Optional: `with_default` diff --git a/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs b/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs index 792d523d..2bfce39d 100644 --- a/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs +++ b/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs @@ -453,7 +453,7 @@ pub mod pezpallet { Distributed { presale_id: PresaleId, who: T::AccountId, amount: u128 }, /// Refund processed [presale_id, who, amount, fee] Refunded { presale_id: PresaleId, who: T::AccountId, amount: u128, fee: u128 }, - /// Presale cancelled [presale_id] + /// Presale cancelled PresaleCancelled { presale_id: PresaleId }, /// Platform fee distributed [treasury_share, burn_share, staker_share] PlatformFeeDistributed { treasury_share: u128, burn_share: u128, staker_share: u128 }, diff --git a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs index c8d0518d..489f823d 100644 --- a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs +++ b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs @@ -159,7 +159,7 @@ pub struct RpcClient { tx: mpsc::UnboundedSender, } -/// Builder for [`Client`]. +/// Builder for [`RpcClient`]. #[derive(Clone, Debug)] pub struct RpcClientBuilder

{ max_request_size: u32, diff --git a/vendor/pezkuwi-subxt/signer/src/eth.rs b/vendor/pezkuwi-subxt/signer/src/eth.rs index 81b42eda..c9c882fc 100644 --- a/vendor/pezkuwi-subxt/signer/src/eth.rs +++ b/vendor/pezkuwi-subxt/signer/src/eth.rs @@ -104,7 +104,7 @@ impl Keypair { self.0.secret_key() } - /// Obtain the [`eth::PublicKey`] of this keypair. + /// Obtain the [`PublicKey`] of this keypair. pub fn public_key(&self) -> PublicKey { let uncompressed = self.0 .0.public_key().serialize_uncompressed(); PublicKey(uncompressed) diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs index 0fe05394..c8c80dac 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs @@ -499,7 +499,7 @@ impl RelaychainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_validator`] for validator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_validator` for validator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_validator()` for validator nodes or `with_fullnode()` for full nodes instead" @@ -623,7 +623,7 @@ impl RelaychainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_validator`] for validator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_validator` for validator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_validator()` for validator nodes or `with_fullnode()` for full nodes instead" diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs index 46f5a183..929386cc 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs @@ -882,7 +882,7 @@ impl TeyrchainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_collator`] for collator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_collator` for collator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_collator()` for collator nodes or `with_fullnode()` for full nodes instead" @@ -1014,7 +1014,7 @@ impl TeyrchainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_collator`] for collator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_collator` for collator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_collator()` for collator nodes or `with_fullnode()` for full nodes instead" diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs index 425d8009..8052cedb 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs @@ -90,8 +90,8 @@ const DEFAULT_PRESETS_TO_CHECK: [&str; 3] = ["local_testnet", "development", "de /// Chain-spec builder representation /// /// Multiple options are supported, and the current order is: -/// IF [`asset_location`] is _some_ -> Use this chain_spec by copying the file from [`AssetLocation`] -/// ELSE IF [`runtime_location`] is _some_ -> generate the chain-spec using the sc-chain-spec builder. +/// IF `asset_location` is _some_ -> Use this chain_spec by copying the file from [`AssetLocation`] +/// ELSE IF `runtime_location` is _some_ -> generate the chain-spec using the sc-chain-spec builder. /// ELSE -> Fallback to use the `default` or customized cmd. #[derive(Debug, Clone, Serialize, Deserialize)] diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs index eb0a308b..43b107a2 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs @@ -185,7 +185,7 @@ impl NetworkNode { get_client_from_url(&self.ws_uri).await } - /// Get the [online client](subxt::client::OnlineClient) for the node + /// Get the online client for the node #[deprecated = "Use `wait_client` instead."] pub async fn client( &self, @@ -207,7 +207,7 @@ impl NetworkNode { get_client_from_url(&self.ws_uri).await } - /// Wait until get the [online client](subxt::client::OnlineClient) for the node + /// Wait until get the online client for the node pub async fn wait_client( &self, ) -> Result, anyhow::Error> { @@ -219,7 +219,7 @@ impl NetworkNode { self.try_client().await.map_err(|e| anyhow!("Can't create a subxt client, err: {e}")) } - /// Wait until get the [online client](subxt::client::OnlineClient) for the node with a defined timeout + /// Wait until get the online client for the node with a defined timeout pub async fn wait_client_with_timeout( &self, timeout_secs: impl Into, diff --git a/vendor/ss58-registry/src/token.rs b/vendor/ss58-registry/src/token.rs index 571897f8..5f1baf61 100644 --- a/vendor/ss58-registry/src/token.rs +++ b/vendor/ss58-registry/src/token.rs @@ -36,7 +36,7 @@ impl core::fmt::Debug for Token { impl Token { /// Creates the specified amount of [`Token`] with its name and decimals filled from the - /// [`TokenRegistry`] variant. + /// `TokenRegistry` variant. /// /// ``` /// # use ss58_registry::{Token, TokenRegistry};