mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
docs: typos (#14806)
This commit is contained in:
@@ -11,7 +11,7 @@ Reth manages the lifecycle of all ExExes, including:
|
||||
- Sending [notifications](https://reth.rs/docs/reth_exex/enum.ExExNotification.html) about new chain, reverts,
|
||||
and reorgs from historical and live sync
|
||||
- Processing [events](https://reth.rs/docs/reth_exex/enum.ExExEvent.html) emitted by ExExes
|
||||
- Pruning (in case of a full or pruned node) only the data that have been processed by all ExExes
|
||||
- Pruning (in case of a full or pruned node) only the data that has been processed by all ExExes
|
||||
- Shutting ExExes down when the node is shut down
|
||||
|
||||
## Pruning
|
||||
|
||||
@@ -209,7 +209,7 @@ where
|
||||
+ ConfigureEvm<Header = N::BlockHeader, Transaction = N::SignedTx>
|
||||
+ 'static,
|
||||
{
|
||||
/// Transacts the the transactions and transform the state into [`MultiProofTargets`].
|
||||
/// Transacts the transactions and transform the state into [`MultiProofTargets`].
|
||||
fn prepare_multiproof_targets(self, tx: Recovered<N::SignedTx>) -> Option<MultiProofTargets> {
|
||||
let metrics = self.metrics.clone();
|
||||
let state = self.transact(tx)?;
|
||||
|
||||
@@ -304,9 +304,9 @@ where
|
||||
|
||||
// If the header is valid on its own, but not against its parent, we return it as
|
||||
// detached head error.
|
||||
// In stage sync this will trigger an unwind because this means that the the local head
|
||||
// In stage sync this will trigger an unwind because this means that the local head
|
||||
// is not part of the chain the sync target is on. In other words, the downloader was
|
||||
// unable to connect the the sync target with the local head because the sync target and
|
||||
// unable to connect the sync target with the local head because the sync target and
|
||||
// the local head or on different chains.
|
||||
if let Err(error) = self.consensus.validate_header_against_parent(&*last_header, head) {
|
||||
let local_head = head.clone();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Utilities for interacting the the optimism superchain registry
|
||||
//! Utilities for interacting the optimism superchain registry
|
||||
|
||||
#![doc(
|
||||
html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
|
||||
|
||||
@@ -38,7 +38,7 @@ pub fn extract_l1_info<B: BlockBody>(body: &B) -> Result<L1BlockInfo, OpBlockExe
|
||||
extract_l1_info_from_tx(l1_info_tx)
|
||||
}
|
||||
|
||||
/// Extracts the [`L1BlockInfo`] from the the L1 info transaction (first transaction) in the L2
|
||||
/// Extracts the [`L1BlockInfo`] from the L1 info transaction (first transaction) in the L2
|
||||
/// block.
|
||||
///
|
||||
/// Returns an error if the calldata is shorter than 4 bytes.
|
||||
|
||||
@@ -176,7 +176,7 @@ pub struct TaskManager {
|
||||
// === impl TaskManager ===
|
||||
|
||||
impl TaskManager {
|
||||
/// Returns a a [`TaskManager`] over the currently running Runtime.
|
||||
/// Returns a [`TaskManager`] over the currently running Runtime.
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user