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
This commit is contained in:
@@ -499,7 +499,7 @@ impl RelaychainConfigBuilder<WithChain> {
|
||||
|
||||
/// 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<WithAtLeastOneNode> {
|
||||
|
||||
/// 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"
|
||||
|
||||
@@ -882,7 +882,7 @@ impl<C: Context> TeyrchainConfigBuilder<WithId, C> {
|
||||
|
||||
/// 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<C: Context> TeyrchainConfigBuilder<WithAtLeastOneCollator, C> {
|
||||
|
||||
/// 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"
|
||||
|
||||
+2
-2
@@ -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)]
|
||||
|
||||
@@ -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<Config: pezkuwi_subxt::Config>(
|
||||
&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<Config: pezkuwi_subxt::Config>(
|
||||
&self,
|
||||
) -> Result<OnlineClient<Config>, 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<Config: pezkuwi_subxt::Config>(
|
||||
&self,
|
||||
timeout_secs: impl Into<u64>,
|
||||
|
||||
Reference in New Issue
Block a user