Skip to content

Commit

Permalink
fix: codespell
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Edison <[email protected]>
  • Loading branch information
greged93 committed Jan 22, 2025
1 parent bf005a4 commit 977ec1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/exex/exex/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct ExExContext<Node: FullNodeComponents> {
/// # 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<ExExEvent>,
/// Channel to receive [`ExExNotification`](crate::ExExNotification)s.
Expand Down
2 changes: 1 addition & 1 deletion crates/exex/exex/src/dyn_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct ExExContextDyn<N: NodePrimitives = EthPrimitives> {
/// # 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<ExExEvent>,
/// Channel to receive [`ExExNotification`](crate::ExExNotification)s.
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/storage-api/src/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub trait StateRootProvider: Send + Sync {
/// computation.
fn state_root_from_state(&self, hashed_state: HashedPostState) -> ProviderResult<B256>;

/// 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<B256>;
Expand Down
2 changes: 1 addition & 1 deletion crates/trie/sparse/src/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 977ec1b

Please sign in to comment.