Upgrade kvdb-*, trie-db and memory-db (#6584)

* Upgrade `kvdb-*`, `trie-db` and `memory-db`

The updates of `trie-db` and `memory-db` are important, as they fix the
non-deterministic build of Polkadot/Substrate.

* Change `trie-db` version

* Update test-utils/runtime/Cargo.toml

Co-authored-by: Andronik Ordian <write@reusable.software>

* Update primitives/trie/Cargo.toml

Co-authored-by: Andronik Ordian <write@reusable.software>

* Update `Cargo.lock` and `trie-bench`

* Fix UI tests

* Switch to fixed version of memory-db

Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
Bastian Köcher
2020-07-08 10:42:56 +02:00
committed by GitHub
parent a6702b7121
commit ce0b55ff09
19 changed files with 136 additions and 78 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ sp-blockchain = { version = "2.0.0-rc4", path = "../../primitives/blockchain" }
hex-literal = { version = "0.2.1" }
sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/inherents" }
sp-keyring = { version = "2.0.0-rc4", path = "../../primitives/keyring" }
kvdb = "0.6.0"
kvdb = "0.7.0"
log = { version = "0.4.8" }
parking_lot = "0.10.0"
lazy_static = "1.4.0"
+1 -1
View File
@@ -42,7 +42,7 @@ names = "0.11.0"
structopt = "0.3.8"
sc-tracing = { version = "2.0.0-rc4", path = "../tracing" }
chrono = "0.4.10"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
serde = "1.0.111"
[target.'cfg(not(target_os = "unknown"))'.dependencies]
+5 -5
View File
@@ -14,12 +14,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
parking_lot = "0.10.0"
log = "0.4.8"
kvdb = "0.6.0"
kvdb-rocksdb = { version = "0.8", optional = true }
kvdb-memorydb = "0.6.0"
kvdb = "0.7.0"
kvdb-rocksdb = { version = "0.9", optional = true }
kvdb-memorydb = "0.7.0"
linked-hash-map = "0.5.2"
hash-db = "0.15.2"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["std"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["std"] }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
blake2-rfc = "0.2.18"
@@ -41,7 +41,7 @@ sp-keyring = { version = "2.0.0-rc4", path = "../../primitives/keyring" }
substrate-test-runtime-client = { version = "2.0.0-rc4", path = "../../test-utils/runtime/client" }
env_logger = "0.7.0"
quickcheck = "0.9"
kvdb-rocksdb = "0.8"
kvdb-rocksdb = "0.9"
tempfile = "3"
[features]
+1 -1
View File
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
ansi_term = "0.12.1"
futures = "0.3.4"
log = "0.4.8"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
sc-client-api = { version = "2.0.0-rc4", path = "../api" }
sc-network = { version = "0.8.0-rc4", path = "../network" }
sp-blockchain = { version = "2.0.0-rc4", path = "../../primitives/blockchain" }
+1 -1
View File
@@ -74,7 +74,7 @@ parity-multiaddr = { package = "parity-multiaddr", version = "0.7.3" }
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" , version = "0.8.0-rc4"}
sc-tracing = { version = "2.0.0-rc4", path = "../tracing" }
tracing = "0.1.10"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
[target.'cfg(all(any(unix, windows), not(target_os = "android")))'.dependencies]
+1 -1
View File
@@ -17,7 +17,7 @@ log = "0.4.8"
sc-client-api = { version = "2.0.0-rc4", path = "../api" }
sp-core = { version = "2.0.0-rc4", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parity-util-mem-derive = "0.1.0"
[dev-dependencies]
+1 -1
View File
@@ -18,7 +18,7 @@ futures = { version = "0.3.1", features = ["compat"] }
futures-diagnose = "1.0"
intervalier = "0.4.0"
log = "0.4.8"
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
parking_lot = "0.10.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-rc4"}
sc-client-api = { version = "2.0.0-rc4", path = "../api" }
@@ -23,7 +23,7 @@ sp-utils = { version = "2.0.0-rc4", path = "../../../primitives/utils" }
sp-core = { version = "2.0.0-rc4", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0-rc4", path = "../../../primitives/runtime" }
sp-transaction-pool = { version = "2.0.0-rc4", path = "../../../primitives/transaction-pool" }
parity-util-mem = { version = "0.6.1", default-features = false, features = ["primitive-types"] }
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
linked-hash-map = "0.5.2"
[dev-dependencies]