From a267bbd1ca58929676d1c7369a88e25e779fa2fe Mon Sep 17 00:00:00 2001 From: soonsouth Date: Tue, 10 Dec 2024 11:28:35 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: soonsouth --- contracts/script/multisigTransactionProposals/README.md | 4 ++-- .../src/api/node_validator/v0/create_node_validator_api.rs | 2 +- node-metrics/src/api/node_validator/v0/mod.rs | 2 +- node-metrics/src/service/client_state/mod.rs | 6 +++--- node-metrics/src/service/data_state/mod.rs | 2 +- sequencer/src/genesis.rs | 2 +- types/src/v0/impls/auction.rs | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contracts/script/multisigTransactionProposals/README.md b/contracts/script/multisigTransactionProposals/README.md index ddd2ea47a4..d1c248c4e4 100644 --- a/contracts/script/multisigTransactionProposals/README.md +++ b/contracts/script/multisigTransactionProposals/README.md @@ -33,7 +33,7 @@ source .env.contracts && \ ts-node contracts/script/multisigTransactionProposals/safeSDK/modifyProverModeProposal.ts setProver ``` -Open the the URL shown in the console to sign the transaction in the Safe UI. +Open the URL shown in the console to sign the transaction in the Safe UI. Once successful, all signers will see a transaction request on the SAFE UI e.g. `https://app.safe.global/transactions/queue?safe=$SAFE_MULTISIG_ADDRESS` @@ -84,7 +84,7 @@ source .env.contracts && \ ts-node contracts/script/multisigTransactionProposals/safeSDK/modifyStateHistoryRetentionPeriod.ts ``` -Open the the URL shown in the console to sign the transaction in the Safe UI. +Open the URL shown in the console to sign the transaction in the Safe UI. Once successful, all signers will see a transaction request on the SAFE UI e.g. `https://app.safe.global/transactions/queue?safe=$SAFE_MULTISIG_ADDRESS` diff --git a/node-metrics/src/api/node_validator/v0/create_node_validator_api.rs b/node-metrics/src/api/node_validator/v0/create_node_validator_api.rs index c052601fe7..eb05938302 100644 --- a/node-metrics/src/api/node_validator/v0/create_node_validator_api.rs +++ b/node-metrics/src/api/node_validator/v0/create_node_validator_api.rs @@ -158,7 +158,7 @@ impl HotShotEventProcessingTask { let public_api_url = roll_call_info.public_api_url; - // Send the the discovered public url to the sink + // Send the discovered public url to the sink let send_result = url_sender.send(public_api_url).await; if let Err(err) = send_result { tracing::error!("url sender closed: {}", err); diff --git a/node-metrics/src/api/node_validator/v0/mod.rs b/node-metrics/src/api/node_validator/v0/mod.rs index d0a08ebaa6..90d1867474 100644 --- a/node-metrics/src/api/node_validator/v0/mod.rs +++ b/node-metrics/src/api/node_validator/v0/mod.rs @@ -452,7 +452,7 @@ impl HotshotQueryServiceLeafStreamRetriever { /// will use the given base [Url] to be able to retrieve the stream of /// [Leaf]s from the Hotshot Query Service. /// - /// The [Url] is expected to point to the the API version root of the + /// The [Url] is expected to point to the API version root of the /// Hotshot Query Service. Example: /// https://example.com/v0 pub fn new(base_url: Url) -> Self { diff --git a/node-metrics/src/service/client_state/mod.rs b/node-metrics/src/service/client_state/mod.rs index 2c66e44837..ac4c0fea46 100644 --- a/node-metrics/src/service/client_state/mod.rs +++ b/node-metrics/src/service/client_state/mod.rs @@ -1003,7 +1003,7 @@ impl ProcessDistributeBlockDetailHandlingTask { } /// [process_distribute_block_detail_handling_stream] is a function that - /// processes the the [Stream] of incoming [BlockDetail] and distributes them + /// processes the [Stream] of incoming [BlockDetail] and distributes them /// to all subscribed clients. async fn process_distribute_block_detail_handling_stream( client_thread_state: Arc>>, @@ -1073,7 +1073,7 @@ impl ProcessDistributeNodeIdentityHandlingTask { } /// [process_distribute_node_identity_handling_stream] is a function that - /// processes the the [Stream] of incoming [NodeIdentity] and distributes them + /// processes the [Stream] of incoming [NodeIdentity] and distributes them /// to all subscribed clients. async fn process_distribute_node_identity_handling_stream( client_thread_state: Arc>>, @@ -1143,7 +1143,7 @@ impl ProcessDistributeVotersHandlingTask { } /// [process_distribute_voters_handling_stream] is a function that processes - /// the the [Stream] of incoming [BitVec] and distributes them to all + /// the [Stream] of incoming [BitVec] and distributes them to all /// subscribed clients. async fn process_distribute_voters_handling_stream( client_thread_state: Arc>>, diff --git a/node-metrics/src/service/data_state/mod.rs b/node-metrics/src/service/data_state/mod.rs index 5aeea99070..96599607a6 100644 --- a/node-metrics/src/service/data_state/mod.rs +++ b/node-metrics/src/service/data_state/mod.rs @@ -247,7 +247,7 @@ where // Where's the stake table? let signatures = signatures.as_ref(); - // Let's determine the the participants of the voter participants + // Let's determine the participants of the voter participants // in the Quorum Certificate. // We shouldn't ever have a BitVec that is empty, with the possible diff --git a/sequencer/src/genesis.rs b/sequencer/src/genesis.rs index 9c9f6c4d60..c25a6eac21 100644 --- a/sequencer/src/genesis.rs +++ b/sequencer/src/genesis.rs @@ -594,7 +594,7 @@ mod test { let genesis: Genesis = toml::from_str(&toml).unwrap_or_else(|err| panic!("{err:#}")); - // validate the the fee_contract address + // validate the fee_contract address let result = genesis.validate_fee_contract(anvil.endpoint()).await; // check if the result from the validation is an error diff --git a/types/src/v0/impls/auction.rs b/types/src/v0/impls/auction.rs index ce5aa835d6..71b5a5592d 100644 --- a/types/src/v0/impls/auction.rs +++ b/types/src/v0/impls/auction.rs @@ -210,7 +210,7 @@ impl BidTx { .charge_fee(FeeInfo::new(self.account(), self.amount()), recipient) .map_err(ExecutionError::from)?; - // Charge the the gas amount + // Charge the gas amount state .charge_fee(FeeInfo::new(self.account(), self.gas_price()), recipient) .map_err(ExecutionError::from)?;