Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:subspace/subspace-sdk into update-t…
Browse files Browse the repository at this point in the history
…o-devnet
  • Loading branch information
ParthDesai committed Oct 31, 2023
2 parents aad08af + f4d81c4 commit ddad66c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions node/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ pub struct Config<F: Farmer> {
#[builder(default)]
#[serde(default, skip_serializing_if = "sdk_utils::is_default")]
pub sync_from_dsn: bool,
/// DSN Sync parallelism level
#[builder(default)]
#[serde(default, skip_serializing_if = "sdk_utils::is_default")]
pub dsn_sync_parallelism_level: usize,
#[doc(hidden)]
#[builder(
setter(into, strip_option),
Expand Down Expand Up @@ -124,7 +120,6 @@ impl<F: Farmer + 'static> Builder<F> {
.dsn(DsnBuilder::dev())
.rpc(RpcBuilder::dev())
.offchain_worker(OffchainWorkerBuilder::dev())
.dsn_sync_parallelism_level(5)
}

/// Gemini 3f configuration
Expand All @@ -137,7 +132,6 @@ impl<F: Farmer + 'static> Builder<F> {
.role(Role::Authority)
.state_pruning(PruningMode::ArchiveAll)
.blocks_pruning(BlocksPruning::Some(256))
.dsn_sync_parallelism_level(5)
}

/// Devnet chain configuration
Expand All @@ -150,7 +144,6 @@ impl<F: Farmer + 'static> Builder<F> {
.role(Role::Authority)
.state_pruning(PruningMode::ArchiveAll)
.blocks_pruning(BlocksPruning::Some(256))
.dsn_sync_parallelism_level(5)
}

/// Get configuration for saving on disk
Expand Down

0 comments on commit ddad66c

Please sign in to comment.