From 977ec1bdfe02d1b1f05180ec79bc218e4fd6c327 Mon Sep 17 00:00:00 2001 From: Gregory Edison Date: Wed, 22 Jan 2025 09:32:01 +0100 Subject: [PATCH] fix: codespell Signed-off-by: Gregory Edison --- crates/exex/exex/src/context.rs | 2 +- crates/exex/exex/src/dyn_context.rs | 2 +- crates/storage/storage-api/src/trie.rs | 2 +- crates/trie/sparse/src/trie.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/exex/exex/src/context.rs b/crates/exex/exex/src/context.rs index f536ed515f9e..deb6fa2bd8d2 100644 --- a/crates/exex/exex/src/context.rs +++ b/crates/exex/exex/src/context.rs @@ -21,7 +21,7 @@ pub struct ExExContext { /// # Important /// /// The exex should emit a `FinishedHeight` whenever a processed block is safe to prune. - /// Additionally, the exex can pre-emptively emit a `FinishedHeight` event to specify what + /// Additionally, the exex can preemptively emit a `FinishedHeight` event to specify what /// blocks to receive notifications for. pub events: UnboundedSender, /// Channel to receive [`ExExNotification`](crate::ExExNotification)s. diff --git a/crates/exex/exex/src/dyn_context.rs b/crates/exex/exex/src/dyn_context.rs index 8bda75cac45d..94f6ae81f8f7 100644 --- a/crates/exex/exex/src/dyn_context.rs +++ b/crates/exex/exex/src/dyn_context.rs @@ -26,7 +26,7 @@ pub struct ExExContextDyn { /// # Important /// /// The exex should emit a `FinishedHeight` whenever a processed block is safe to prune. - /// Additionally, the exex can pre-emptively emit a `FinishedHeight` event to specify what + /// Additionally, the exex can preemptively emit a `FinishedHeight` event to specify what /// blocks to receive notifications for. pub events: mpsc::UnboundedSender, /// Channel to receive [`ExExNotification`](crate::ExExNotification)s. diff --git a/crates/storage/storage-api/src/trie.rs b/crates/storage/storage-api/src/trie.rs index 2223b551c26f..e8b3dce2b7f1 100644 --- a/crates/storage/storage-api/src/trie.rs +++ b/crates/storage/storage-api/src/trie.rs @@ -20,7 +20,7 @@ pub trait StateRootProvider: Send + Sync { /// computation. fn state_root_from_state(&self, hashed_state: HashedPostState) -> ProviderResult; - /// Returns the state root of the `HashedPostState` on top of the current state but re-uses the + /// Returns the state root of the `HashedPostState` on top of the current state but reuses the /// intermediate nodes to speed up the computation. It's up to the caller to construct the /// prefix sets and inform the provider of the trie paths that have changes. fn state_root_from_nodes(&self, input: TrieInput) -> ProviderResult; diff --git a/crates/trie/sparse/src/trie.rs b/crates/trie/sparse/src/trie.rs index 21a64c0d6c21..357673b751e8 100644 --- a/crates/trie/sparse/src/trie.rs +++ b/crates/trie/sparse/src/trie.rs @@ -2246,7 +2246,7 @@ mod tests { /// different prefix: 0x0100. Hash builder trie has only the first two leaves, and we have /// proofs for them. /// - /// 1. Insert the leaf 0x0100 into the sparse trie, and check that the root extensino node was + /// 1. Insert the leaf 0x0100 into the sparse trie, and check that the root extension node was /// turned into a branch node. /// 2. Reveal the leaf 0x0001 in the sparse trie, and check that the root branch node wasn't /// overwritten with the extension node from the proof.