Store the database in a role specific subdirectory (#2923)

* Store the database in a role specific subdirectory

companion PR for https://github.com/paritytech/substrate/issues/6880

* fix test

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Falco Hirschenberger
2021-09-07 16:14:10 +02:00
committed by GitHub
parent e31db19e13
commit 24b7ec9108
2 changed files with 156 additions and 156 deletions
+153 -153
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -56,7 +56,7 @@ fn purge_chain_works() {
.unwrap(); .unwrap();
assert!(status.success()); assert!(status.success());
// Make sure that the `dev` chain folder exists, but the `db` is deleted. // Make sure that the chain folder exists, but `db/full` is deleted.
assert!(tmpdir.path().join("chains/dev/").exists()); assert!(tmpdir.path().join("chains/dev").exists());
assert!(!tmpdir.path().join("chains/dev/db").exists()); assert!(!tmpdir.path().join("chains/dev/db/full").exists());
} }