chore: correct spelling errors (#17462)

This commit is contained in:
cakevm
2025-07-17 15:19:19 +02:00
committed by GitHub
parent 824e099055
commit 2afd109816
4 changed files with 4 additions and 4 deletions

View File

@@ -397,7 +397,7 @@ where
/// Helper method that handles sparse trie task spawning.
///
/// If we have a stored trie, we will re-use it for spawning. If we do not have a stored trie,
/// If we have a stored trie, we will reuse it for spawning. If we do not have a stored trie,
/// we will create a new trie based on the configured trie type (parallel or serial).
fn spawn_sparse_trie_task<BPF>(
&self,

View File

@@ -112,7 +112,7 @@ where
/// # Returns
///
/// - State root computation outcome.
/// - Accounts trie that needs to be cleared and re-used to avoid reallocations.
/// - Accounts trie that needs to be cleared and reused to avoid reallocations.
pub(super) fn run(
&mut self,
) -> (Result<StateRootComputeOutcome, ParallelStateRootError>, SparseTrie<A>) {

View File

@@ -1,3 +1,3 @@
// queries for logs with two topics, with both topics set explictly
// queries for logs with two topics, with both topics set explicitly
>> {"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"address":null,"fromBlock":"0x3","toBlock":"0x6","topics":[["0x00000000000000000000000000000000000000000000000000000000656d6974"],["0x4238ace0bf7e66fd40fea01bdf43f4f30423f48432efd0da3af5fcb17a977fd4"]]}]}
<< {"jsonrpc":"2.0","id":1,"result":[{"address":"0x7dcd17433742f4c0ca53122ab541d0ba67fc27df","topics":["0x00000000000000000000000000000000000000000000000000000000656d6974","0x4238ace0bf7e66fd40fea01bdf43f4f30423f48432efd0da3af5fcb17a977fd4"],"data":"0x0000000000000000000000000000000000000000000000000000000000000001","blockNumber":"0x4","transactionHash":"0xf047c5133c96c405a79d01038b4ccf8208c03e296dd9f6bea083727c9513f805","transactionIndex":"0x0","blockHash":"0x94540b21748e45497c41518ed68b2a0c16d728e917b665ae50d51f6895242e53","logIndex":"0x0","removed":false}]}

View File

@@ -5,7 +5,7 @@ use reth_trie_common::Nibbles;
///
/// When a [`crate::ParallelSparseTrie`] is initialized/cleared then its `LowerSparseSubtrie`s are
/// all blinded, meaning they have no nodes. A blinded `LowerSparseSubtrie` may hold onto a cleared
/// [`SparseSubtrie`] in order to re-use allocations.
/// [`SparseSubtrie`] in order to reuse allocations.
#[derive(Clone, Debug, Eq, PartialEq)]
pub(crate) enum LowerSparseSubtrie {
Blind(Option<Box<SparseSubtrie>>),