Skip to content

Commit 16e74b3

Browse files
committed
chore: fix some typos in comment
Signed-off-by: letreturn <[email protected]>
1 parent fd180fb commit 16e74b3

File tree

3 files changed

+5
-5
lines changed
  • crates/pallet-domains/src
  • domains/client/relayer/src
  • test/subspace-test-service/src

3 files changed

+5
-5
lines changed

crates/pallet-domains/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ fn test_bundle_format_verification() {
831831
BundleError::InvalidExtrinsicRoot
832832
);
833833

834-
// Bundle with addtional extrinsic
834+
// Bundle with additional extrinsic
835835
let mut invalid_extrinsic_root_bundle = valid_bundle.clone();
836836
let mut extrinsics = valid_bundle.extrinsics().to_vec();
837837
extrinsics.push(opaque_extrinsic(4, 4));

domains/client/relayer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ where
299299
+ RelayerApi<CBlock, NumberFor<CBlock>, NumberFor<CBlock>, CBlock::Hash>,
300300
Client::Api: RelayerApi<Block, NumberFor<Block>, NumberFor<CBlock>, CBlock::Hash>,
301301
{
302-
// Since the block MMR leaf is included in the next block, we procees the XDM of block `confirmed_block_number - 1`
302+
// Since the block MMR leaf is included in the next block, we process the XDM of block `confirmed_block_number - 1`
303303
// and use the block `confirmed_block_number` to generate the MMR proof of block `confirmed_block_number - 1`
304304
let mmr_consensus_block = (
305305
confirmed_block_number,

test/subspace-test-service/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ impl MockConsensusNode {
766766

767767
/// Wait for the operator finish processing the consensus block before return
768768
pub async fn confirm_block_import_processed(&mut self) {
769-
// Send one more notification to ensure the previous consensus block import notificaion
769+
// Send one more notification to ensure the previous consensus block import notification
770770
// have received by the operator
771771
let (acknowledgement_sender, mut acknowledgement_receiver) = mpsc::channel(0);
772772
{
@@ -1126,7 +1126,7 @@ impl MockConsensusNode {
11261126

11271127
let res = match self.import_block(block, Some(storage_changes)).await {
11281128
Ok(hash) => {
1129-
// Remove the tx of the imported block from the tx pool incase re-include them
1129+
// Remove the tx of the imported block from the tx pool in case re-include them
11301130
// in the future block by accident.
11311131
self.prune_txs_from_pool(tx_hashes.as_slice()).await?;
11321132
Ok(hash)
@@ -1146,7 +1146,7 @@ impl MockConsensusNode {
11461146
Ok(())
11471147
}
11481148

1149-
/// Produce a new block on top of the current best block, with the specificed extrinsics.
1149+
/// Produce a new block on top of the current best block, with the specified extrinsics.
11501150
#[sc_tracing::logging::prefix_logs_with(self.log_prefix)]
11511151
pub async fn produce_block_with_extrinsics(
11521152
&mut self,

0 commit comments

Comments
 (0)