chore: correct typos docs (#13505)

This commit is contained in:
futreall
2024-12-23 08:35:07 +02:00
committed by GitHub
parent d12392d084
commit dcdde399ff
4 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ use alloy_primitives::{BlockHash, BlockNumber};
use reth_provider::{BlockExecutionForkProvider, ExecutionDataProvider, ExecutionOutcome};
use std::collections::BTreeMap;
/// Structure that combines references of required data to be a [`ExecutionDataProvider`].
/// Structure that combines references of required data to be an [`ExecutionDataProvider`].
#[derive(Clone, Debug)]
pub struct BundleStateDataRef<'a> {
/// The execution outcome after execution of one or more transactions and/or blocks.
@ -39,7 +39,7 @@ impl BlockExecutionForkProvider for BundleStateDataRef<'_> {
}
}
/// Structure that owns the relevant data needs to be a [`ExecutionDataProvider`]
/// Structure that owns the relevant data needs to be an [`ExecutionDataProvider`]
#[derive(Clone, Debug)]
pub struct ExecutionData {
/// Execution outcome.

View File

@ -107,7 +107,7 @@ impl<C: ChainSpecParser> EnvironmentArgs<C> {
/// Returns a [`ProviderFactory`] after executing consistency checks.
///
/// If it's a read-write environment and an issue is found, it will attempt to heal (including a
/// pipeline unwind). Otherwise, it will print out an warning, advising the user to restart the
/// pipeline unwind). Otherwise, it will print out a warning, advising the user to restart the
/// node to heal.
fn create_provider_factory<N: CliNodeTypes>(
&self,

View File

@ -101,7 +101,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> InitStateC
)?;
// SAFETY: it's safe to commit static files, since in the event of a crash, they
// will be unwinded according to database checkpoints.
// will be unwound according to database checkpoints.
//
// Necessary to commit, so the header is accessible to provider_rw and
// init_state_dump

View File

@ -25,7 +25,7 @@ pub enum Subcommands {
/// The generated vectors are serialized in both `json` and `Compact` formats and saved to a
/// file.
///
/// Use the `--read` flag to read and validate the previously generated vectors from file.
/// Use the `--read` flag to read and validate the previously generated vectors from a file.
#[group(multiple = false, required = true)]
Compact {
/// Write test vectors to a file.