Skip to content

Commit

Permalink
Merge pull request #2176 from subspace/wipe-old-gemini-versions
Browse files Browse the repository at this point in the history
Support wiping node data of old Gemini versions
  • Loading branch information
nazar-pc authored Oct 30, 2023
2 parents d9aba72 + 127f9a3 commit 3013c16
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/subspace-node/src/bin/subspace-node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ fn main() -> Result<(), Error> {
"subspace_gemini_3b",
"subspace_gemini_3c",
"subspace_gemini_3d",
"subspace_gemini_3e",
"subspace_gemini_3f",
] {
let _ = std::fs::remove_dir_all(
base_dir.join("subspace-node").join("chains").join(chain),
Expand Down Expand Up @@ -366,7 +368,7 @@ fn main() -> Result<(), Error> {
cli.run
.base_path()?
.map(|base_path| base_path.path().to_path_buf()),
// pass the domain-id manually for benchmark since this is
// pass the domain-id manually for benchmark since this is
// not possible through cli commands at this moment.
vec!["--domain-id".to_owned(), "0".to_owned()].into_iter(),
);
Expand Down

0 comments on commit 3013c16

Please sign in to comment.