From 7f51ce6ed612d17738bfd430ec7b3292ace6a2a4 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Wed, 11 Oct 2023 16:28:51 +0300 Subject: [PATCH] Downgrade parity-db --- Cargo.lock | 5 +++-- crates/subspace-node/Cargo.toml | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8765220948..f449cc4785 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7640,9 +7640,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.11" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab512a34b3c2c5e465731cc7668edf79208bbe520be03484eeb05e63ed221735" +checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df" dependencies = [ "blake2", "crc32fast", @@ -11718,6 +11718,7 @@ dependencies = [ "hex", "hex-literal", "log", + "parity-db", "parity-scale-codec", "sc-chain-spec", "sc-cli", diff --git a/crates/subspace-node/Cargo.toml b/crates/subspace-node/Cargo.toml index 429032bd4a..e78ef32b08 100644 --- a/crates/subspace-node/Cargo.toml +++ b/crates/subspace-node/Cargo.toml @@ -37,6 +37,8 @@ futures = "0.3.28" hex = "0.4.3" hex-literal = "0.4.1" log = "0.4.20" +# TODO: This is only to force older version, remove once https://github.com/paritytech/parity-db/issues/226 is fixed +parity-db = "=0.4.9" parity-scale-codec = "3.6.5" sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/subspace/polkadot-sdk", rev = "920fb277d5ea16a3b0918052c7555026a1ac2c6c" } sc-cli = { version = "0.10.0-dev", git = "https://github.com/subspace/polkadot-sdk", rev = "920fb277d5ea16a3b0918052c7555026a1ac2c6c", default-features = false }