Skip to content

Commit

Permalink
cargo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed May 9, 2024
1 parent b48bc92 commit 6cf7d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions crates/config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ pub struct StageConfig {
}

impl StageConfig {
/// The highest threshold (in number of blocks) for switching between incremental
/// and full calculations across [`super::MerkleStage`], [`super::AccountHashingStage`] and
/// [`super::StorageHashingStage`]. This is required to figure out if can prune or not
/// changesets on subsequent pipeline runs.
/// The highest threshold (in number of blocks) for switching between incremental and full
/// calculations across `MerkleStage`, `AccountHashingStage` and `StorageHashingStage`. This is
/// required to figure out if can prune or not changesets on subsequent pipeline runs during
/// `ExecutionStage`
pub fn execution_external_clean_threshold(&self) -> u64 {
self.merkle
.clean_threshold
Expand Down
4 changes: 2 additions & 2 deletions crates/stages/src/sets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! # use reth_provider::StaticFileProviderFactory;
//! # use reth_provider::test_utils::create_test_provider_factory;
//! # use reth_static_file::StaticFileProducer;
//! # use reth_config::config::EtlConfig;
//! # use reth_config::config::StageConfig;
//! # use reth_evm::execute::BlockExecutorProvider;
//!
//! # fn create(exec: impl BlockExecutorProvider) {
Expand All @@ -30,7 +30,7 @@
//! );
//! // Build a pipeline with all offline stages.
//! let pipeline = Pipeline::builder()
//! .add_stages(OfflineStages::new(exec, EtlConfig::default()))
//! .add_stages(OfflineStages::new(exec, StageConfig::default(), None))
//! .build(provider_factory, static_file_producer);
//!
//! # }
Expand Down

0 comments on commit 6cf7d3e

Please sign in to comment.