Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/chain-state/src/memory_overlay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct MemoryOverlayStateProviderRef<
'a,
N: NodePrimitives = reth_ethereum_primitives::EthPrimitives,
> {
/// Historical state provider for state lookups that are not found in in-memory blocks.
/// Historical state provider for state lookups that are not found in memory blocks.
pub(crate) historical: Box<dyn StateProvider + 'a>,
/// The collection of executed parent blocks. Expected order is newest to oldest.
pub(crate) in_memory: Vec<ExecutedBlockWithTrieUpdates<N>>,
Expand Down
2 changes: 1 addition & 1 deletion crates/net/network/src/peers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ impl PeersManager {
}
}

/// Connect to the given peer. NOTE: if the maximum number out outbound sessions is reached,
/// Connect to the given peer. NOTE: if the maximum number of outbound sessions is reached,
/// this won't do anything. See `reth_network::SessionManager::dial_outbound`.
#[cfg_attr(not(test), expect(dead_code))]
pub(crate) fn add_and_connect(
Expand Down
2 changes: 1 addition & 1 deletion crates/node/core/src/args/pruning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl PruningArgs {
where
ChainSpec: EthereumHardforks,
{
// Initialise with a default prune configuration.
// Initialize with a default prune configuration.
let mut config = PruneConfig::default();

// If --full is set, use full node defaults.
Expand Down
2 changes: 1 addition & 1 deletion crates/optimism/flashblocks/src/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ where
return Ok(())
}

// only insert if we we previously received the same block, assume we received index 0
// only insert if we previously received the same block, assume we received index 0
if self.block_number() == Some(flashblock.metadata.block_number) {
trace!(number=%flashblock.block_number(), index = %flashblock.index, block_count = self.inner.len() ,"Received followup flashblock");
self.inner.insert(flashblock.index, PreparedFlashBlock::new(flashblock)?);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ mod tests {
"partial mem data"
);

// Test range in in-memory to unbounded end
// Test range in memory to unbounded end
assert_eq!(provider.$method(in_mem_range.start() + 1..)?, &in_memory_data[1..], "unbounded mem data");

// Test last element in-memory
Expand Down
2 changes: 1 addition & 1 deletion crates/transaction-pool/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl PoolError {
///
/// Not all error variants are caused by the incorrect composition of the transaction (See also
/// [`InvalidPoolTransactionError`]) and can be caused by the current state of the transaction
/// pool. For example the transaction pool is already full or the error was caused my an
/// pool. For example the transaction pool is already full or the error was caused by an
/// internal error, such as database errors.
///
/// This function returns true only if the transaction will never make it into the pool because
Expand Down