mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: fix typos (#7264)
This commit is contained in:
@ -77,7 +77,7 @@ pub struct SessionManager {
|
||||
secret_key: SecretKey,
|
||||
/// The `Status` message to send to peers.
|
||||
status: Status,
|
||||
/// THe `HelloMessage` message to send to peers.
|
||||
/// The `HelloMessage` message to send to peers.
|
||||
hello_message: HelloMessageWithProtocols,
|
||||
/// The [`ForkFilter`] used to validate the peer's `Status` message.
|
||||
fork_filter: ForkFilter,
|
||||
|
||||
@ -1112,7 +1112,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// Runs an operation to fetch hashes that are cached in in [`TransactionFetcher`].
|
||||
/// Runs an operation to fetch hashes that are cached in [`TransactionFetcher`].
|
||||
fn on_fetch_hashes_pending_fetch(&mut self) {
|
||||
// try drain transaction hashes pending fetch
|
||||
let info = &self.pending_pool_imports_info;
|
||||
|
||||
@ -81,7 +81,7 @@ impl StaticFileSegment {
|
||||
format!("static_file_{}_{}_{}", self.as_ref(), block_range.start(), block_range.end())
|
||||
}
|
||||
|
||||
/// Returns file name for the provided segment and range, alongisde filters, compression.
|
||||
/// Returns file name for the provided segment and range, alongside filters, compression.
|
||||
pub fn filename_with_configuration(
|
||||
&self,
|
||||
filters: Filters,
|
||||
|
||||
@ -340,7 +340,7 @@ impl PooledTransactionsElement {
|
||||
}
|
||||
}
|
||||
|
||||
/// Retruns true if the transaction is an EIP-4844 transaction.
|
||||
/// Returns true if the transaction is an EIP-4844 transaction.
|
||||
#[inline]
|
||||
pub const fn is_eip4844(&self) -> bool {
|
||||
matches!(self, Self::BlobTransaction(_))
|
||||
|
||||
@ -389,7 +389,7 @@ mod tests {
|
||||
let tx_receipt = executor.receipts[0][0].as_ref().unwrap();
|
||||
let deposit_receipt = executor.receipts[0][1].as_ref().unwrap();
|
||||
|
||||
// deposit_receipt_version is set to 1 for post canyon deposit transations
|
||||
// deposit_receipt_version is set to 1 for post canyon deposit transactions
|
||||
assert_eq!(deposit_receipt.deposit_receipt_version, Some(1));
|
||||
assert!(tx_receipt.deposit_receipt_version.is_none());
|
||||
|
||||
|
||||
@ -613,7 +613,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
/// Invalid block range (request is in in the future)
|
||||
/// Invalid block range (request is in the future)
|
||||
async fn test_fee_history_invalid_block_range_in_future() {
|
||||
let block_count = 10;
|
||||
let newest_block = 1337;
|
||||
|
||||
@ -168,7 +168,7 @@ impl<DB: Database> Stage<DB> for StorageHashingStage {
|
||||
return Ok(ExecOutput { checkpoint, done: false })
|
||||
}
|
||||
} else {
|
||||
// Aggregate all changesets and and make list of storages that have been
|
||||
// Aggregate all changesets and make list of storages that have been
|
||||
// changed.
|
||||
let lists = provider.changed_storages_with_range(from_block..=to_block)?;
|
||||
// iterate over plain state and get newest storage value.
|
||||
|
||||
Reference in New Issue
Block a user