diff --git a/bin/reth/src/commands/debug_cmd/merkle.rs b/bin/reth/src/commands/debug_cmd/merkle.rs index f95c74d9c..6d8667f82 100644 --- a/bin/reth/src/commands/debug_cmd/merkle.rs +++ b/bin/reth/src/commands/debug_cmd/merkle.rs @@ -247,7 +247,7 @@ impl Command { } } - // Stoarge trie + // Storage trie let mut first_mismatched_storage = None; let mut incremental_storage_trie_iter = incremental_storage_trie.into_iter().peekable(); let mut clean_storage_trie_iter = clean_storage_trie.into_iter().peekable(); diff --git a/crates/stages/api/src/stage.rs b/crates/stages/api/src/stage.rs index b8178df46..73d69b181 100644 --- a/crates/stages/api/src/stage.rs +++ b/crates/stages/api/src/stage.rs @@ -100,7 +100,7 @@ impl ExecInput { let (end_block, is_final_range, next_tx_num) = if all_tx_cnt <= tx_threshold { (target_block, true, target_block_body.next_tx_num()) } else { - // get tx block number. next_tx_num in this case will be less thean all_tx_cnt. + // get tx block number. next_tx_num in this case will be less than all_tx_cnt. // So we are sure that transaction must exist. let end_block_number = provider .transaction_block(first_tx_num + tx_threshold)? diff --git a/crates/storage/db-api/src/models/storage_sharded_key.rs b/crates/storage/db-api/src/models/storage_sharded_key.rs index f76f0468a..04243808f 100644 --- a/crates/storage/db-api/src/models/storage_sharded_key.rs +++ b/crates/storage/db-api/src/models/storage_sharded_key.rs @@ -15,7 +15,7 @@ pub const NUM_OF_INDICES_IN_SHARD: usize = 2_000; /// Sometimes data can be too big to be saved for a single key. This helps out by dividing the data /// into different shards. Example: /// -/// `Address | Storagekey | 200` -> data is from transition 0 to 200. +/// `Address | StorageKey | 200` -> data is from transition 0 to 200. /// /// `Address | StorageKey | 300` -> data is from transition 201 to 300. #[derive( diff --git a/examples/db-access/src/main.rs b/examples/db-access/src/main.rs index 4c36c3348..0a8368801 100644 --- a/examples/db-access/src/main.rs +++ b/examples/db-access/src/main.rs @@ -188,7 +188,7 @@ fn receipts_provider_example