diff --git a/clippy.toml b/clippy.toml index 4cbbc0005..ad6a33bdb 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -doc-valid-idents = ["FaceScan", "FaceMap", "FaceTec", "MetaMask", ".."] +doc-valid-idents = ["FaceScan", "FaceMap", "FaceTec", "MetaMask", "WebSocket", ".."] diff --git a/crates/humanode-peer/src/cli/params.rs b/crates/humanode-peer/src/cli/params.rs index 667229afa..745316ccf 100644 --- a/crates/humanode-peer/src/cli/params.rs +++ b/crates/humanode-peer/src/cli/params.rs @@ -71,8 +71,8 @@ pub struct EthereumRpcParams { /// A multiplier to allow larger gas limit in non-transactional execution. /// - /// When using eth_call/eth_estimateGas, the maximum allowed gas limit will be - /// block.gas_limit * execute_gas_limit_multiplier. + /// When using `eth_call/eth_estimateGas`, the maximum allowed gas limit will be + /// `block.gas_limit` * `execute_gas_limit_multiplier`. #[arg(long, default_value = "10")] pub execute_gas_limit_multiplier: u64, } diff --git a/crates/humanode-rpc/src/lib.rs b/crates/humanode-rpc/src/lib.rs index 290972b8c..a4012b16a 100644 --- a/crates/humanode-rpc/src/lib.rs +++ b/crates/humanode-rpc/src/lib.rs @@ -82,7 +82,7 @@ pub struct GrandpaDeps { /// Extra EVM related dependencies. pub struct EvmDeps { - /// EthFilterApi pool. + /// `EthFilterApi` pool. pub eth_filter_pool: Option, /// Maximum number of stored filters. pub eth_max_stored_filters: usize, @@ -100,15 +100,15 @@ pub struct EvmDeps { pub eth_block_data_cache: Arc>, /// A multiplier to allow larger gas limit in non-transactional execution. /// - /// When using eth_call/eth_estimateGas, the maximum allowed gas limit will be - /// block.gas_limit * execute_gas_limit_multiplier. + /// When using `eth_call/eth_estimateGas`, the maximum allowed gas limit will be + /// `block.gas_limit` * `execute_gas_limit_multiplier`. pub eth_execute_gas_limit_multiplier: u64, /// Mandated parent hashes for a given block hash. pub eth_forced_parent_hashes: Option>, /// Sinks for pubsub notifications. /// /// Everytime a new subscription is created, a new mpsc channel is added to the sink pool. - /// The MappingSyncWorker sends through the channel on block import and the subscription + /// The `MappingSyncWorker` sends through the channel on block import and the subscription /// emits a notification to the subscriber on receiving a message through this channel. pub eth_pubsub_notification_sinks: Arc< fc_mapping_sync::EthereumBlockNotificationSinks< @@ -133,7 +133,7 @@ pub struct Deps { pub sync: Arc>, /// A copy of the chain spec. pub chain_spec: Box, - /// AuthorExt specific dependencies. + /// `AuthorExt` specific dependencies. pub author_ext: AuthorExtDeps, /// Is the node in authority role. pub is_authority: bool, @@ -143,7 +143,7 @@ pub struct Deps { pub babe: BabeDeps, /// GRANDPA specific dependencies. pub grandpa: GrandpaDeps, - /// The SelectChain Strategy + /// The `SelectChain` Strategy pub select_chain: SC, /// EVM specific dependencies. pub evm: EvmDeps,