diff --git a/coordinator/src/db.rs b/coordinator/src/db.rs index c2eaefb3..67566e53 100644 --- a/coordinator/src/db.rs +++ b/coordinator/src/db.rs @@ -13,7 +13,7 @@ impl<'a, D: Db> MainDb<'a, D> { } fn main_key(dst: &'static [u8], key: impl AsRef<[u8]>) -> Vec<u8> { - D::key(b"MAIN", dst, key) + D::key(b"coordinator_main", dst, key) } fn acive_tributaries_key() -> Vec<u8> { diff --git a/coordinator/src/substrate/db.rs b/coordinator/src/substrate/db.rs index f301256c..6d9d06d9 100644 --- a/coordinator/src/substrate/db.rs +++ b/coordinator/src/substrate/db.rs @@ -8,7 +8,7 @@ impl<D: Db> SubstrateDb<D> { } fn substrate_key(dst: &'static [u8], key: impl AsRef<[u8]>) -> Vec<u8> { - D::key(b"SUBSTRATE", dst, key) + D::key(b"coordinator_substrate", dst, key) } fn block_key() -> Vec<u8> { diff --git a/coordinator/src/tributary/db.rs b/coordinator/src/tributary/db.rs index c4398289..5835ff03 100644 --- a/coordinator/src/tributary/db.rs +++ b/coordinator/src/tributary/db.rs @@ -57,7 +57,7 @@ impl<D: Db> TributaryDb<D> { } fn tributary_key(dst: &'static [u8], key: impl AsRef<[u8]>) -> Vec<u8> { - D::key(b"TRIBUTARY", dst, key) + D::key(b"coordinator_tributary", dst, key) } fn block_key(genesis: [u8; 32]) -> Vec<u8> {