diff --git a/ethereum/light-client/src/bin/client.rs b/ethereum/light-client/src/bin/client.rs index b7e0ad7b..05fd37e0 100644 --- a/ethereum/light-client/src/bin/client.rs +++ b/ethereum/light-client/src/bin/client.rs @@ -41,13 +41,13 @@ pub const ALL_PAIRS_STORAGE_KEY: &str = struct Cli { /// The address of the checkpoint service provider. /// - /// See https://eth-clients.github.io/checkpoint-sync-endpoints + /// See #[arg(short, long)] checkpoint_provider_address: String, /// The address for the beacon node API. /// - /// It is recommended to use https://www.lightclientdata.org + /// It is recommended to use #[arg(short, long)] beacon_node_address: String, diff --git a/ethereum/light-client/src/client/storage.rs b/ethereum/light-client/src/client/storage.rs index 4a301159..ef5836c9 100644 --- a/ethereum/light-client/src/client/storage.rs +++ b/ethereum/light-client/src/client/storage.rs @@ -11,7 +11,7 @@ //! ## Storage provider address //! //! The storage client expects an address that contains an API key, which identifies an account at -//! those RPC partners (e.g.:https://mainnet.infura.io/v3/YOUR-API-KEY). The API key is used to +//! those RPC partners (e.g.: ). The API key is used to //! authenticate the client with the RPC provider. use crate::client::error::ClientError; diff --git a/ethereum/light-client/src/types/network.rs b/ethereum/light-client/src/types/network.rs index 941248d1..47330422 100644 --- a/ethereum/light-client/src/types/network.rs +++ b/ethereum/light-client/src/types/network.rs @@ -20,7 +20,7 @@ impl Request { /// /// # Returns /// - /// A Vec representing the enum. + /// A `Vec` representing the enum. pub fn to_bytes(&self) -> Result, Error> { match self { Request::ProveCommitteeChange(boxed) => { diff --git a/kadena/core/src/types/header/chain.rs b/kadena/core/src/types/header/chain.rs index 74bbe7ca..8c04adb1 100644 --- a/kadena/core/src/types/header/chain.rs +++ b/kadena/core/src/types/header/chain.rs @@ -243,7 +243,7 @@ impl KadenaHeaderRaw { /// /// # Notes /// - /// When the chain graph degree changes along with the [`crate::types::graph::TWENTY_CHAIN_GRAPH_DEGREE`] + /// When the chain graph degree changes along with the [`crate::types::graph::CHAIN_GRAPH`] /// constant this method should be updated. pub fn header_root(&self) -> Result { let mut adjacent_hashes: Vec<[u8; 32]> = Vec::with_capacity(GRAPH_DEGREE); diff --git a/kadena/light-client/src/types/network.rs b/kadena/light-client/src/types/network.rs index c7aebd57..205dd138 100644 --- a/kadena/light-client/src/types/network.rs +++ b/kadena/light-client/src/types/network.rs @@ -25,7 +25,7 @@ impl Request { /// /// # Returns /// - /// A Vec representing the enum. + /// A `Vec` representing the enum. pub fn to_bytes(&self) -> Result, Error> { match self { Request::ProveLongestChain(boxed) => {