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

Commit

Permalink
Merge pull request #288 from subspace/fix-syncing-issue
Browse files Browse the repository at this point in the history
Enable subspace block relay for `gemini3g` and `devnet`
  • Loading branch information
ParthDesai authored Jan 19, 2024
2 parents 8047a7c + 221a937 commit d55065a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pulsar"
version = "0.7.3"
version = "0.7.4"
edition = "2021"

[dependencies]
Expand Down
7 changes: 5 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ impl NodeConfig {
DsnBuilder::gemini_3g()
.provider_storage_path(provider_storage_dir_getter()),
)
.sync_from_dsn(true);
.sync_from_dsn(true)
.enable_subspace_block_relay(true);
if enable_domains {
node = node.domain(Some(DomainConfigBuilder::gemini_3g().configuration()));
}
Expand All @@ -76,7 +77,9 @@ impl NodeConfig {
ChainConfig::DevNet => {
let mut node = Node::devnet()
.network(NetworkBuilder::devnet().name(name))
.dsn(DsnBuilder::devnet().provider_storage_path(provider_storage_dir_getter()));
.dsn(DsnBuilder::devnet().provider_storage_path(provider_storage_dir_getter()))
.sync_from_dsn(true)
.enable_subspace_block_relay(true);
if enable_domains {
node = node.domain(Some(DomainConfigBuilder::devnet().configuration()));
}
Expand Down

0 comments on commit d55065a

Please sign in to comment.