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

Enable subspace block relay for gemini3g and devnet #288

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
ParthDesai marked this conversation as resolved.
Show resolved Hide resolved
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
Loading