mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: correct typos docs (#13505)
This commit is contained in:
@ -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.
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user