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
@@ -37,7 +37,7 @@ parking_lot = { version = "0.10.0", optional = true }
sp-debug-derive = { version = "2.0.0-rc4", path = "../debug-derive" }
sp-externalities = { version = "0.8.0-rc4", optional = true, path = "../externalities" }
sp-storage = { version = "2.0.0-rc4", default-features = false, path = "../storage" }
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"] }
futures = { version = "0.3.1", optional = true }
# full crypto
+1 -1
View File
@@ -11,4 +11,4 @@ documentation = "https://docs.rs/sp-database"
[dependencies]
parking_lot = "0.10.0"
kvdb = "0.6.0"
kvdb = "0.7.0"
+1 -1
View File
@@ -26,7 +26,7 @@ paste = "0.1.6"
rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3"
sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../inherents" }
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"] }
hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false }
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
log = "0.4.8"
parking_lot = "0.10.0"
hash-db = "0.15.2"
trie-db = "0.21.0"
trie-db = "0.22.0"
trie-root = "0.16.0"
sp-trie = { version = "2.0.0-rc4", path = "../trie" }
sp-core = { version = "2.0.0-rc4", path = "../core" }
@@ -17,7 +17,7 @@ codec = { package = "parity-scale-codec", version = "1.3.1", default-features =
sp-core = { version = "2.0.0-rc4", default-features = false, path = "../core" }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-runtime = { version = "2.0.0-rc4", default-features = false, path = "../runtime" }
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"] }
[features]
default = [
+3 -3
View File
@@ -20,13 +20,13 @@ harness = false
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
sp-std = { version = "2.0.0-rc4", default-features = false, path = "../std" }
hash-db = { version = "0.15.2", default-features = false }
trie-db = { version = "0.21.0", default-features = false }
trie-db = { version = "0.22.0", default-features = false }
trie-root = { version = "0.16.0", default-features = false }
memory-db = { version = "0.21.0", default-features = false }
memory-db = { version = "0.24.0", default-features = false }
sp-core = { version = "2.0.0-rc4", default-features = false, path = "../core" }
[dev-dependencies]
trie-bench = "0.22.0"
trie-bench = "0.24.0"
trie-standardmap = "0.15.2"
criterion = "0.2.11"
hex-literal = "0.2.1"