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
+108 -50
View File
@@ -93,6 +93,12 @@ dependencies = [
"const-random", "const-random",
] ]
[[package]]
name = "ahash"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8fd72866655d1904d6b0997d0b07ba561047d070fbe29de039031c641b61217"
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
version = "0.7.10" version = "0.7.10"
@@ -1533,7 +1539,7 @@ dependencies = [
"log", "log",
"once_cell", "once_cell",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"paste", "paste",
"pretty_assertions", "pretty_assertions",
"serde", "serde",
@@ -2062,10 +2068,20 @@ version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e6073d0ca812575946eb5f35ff68dbe519907b25c42530389ff946dc84c6ead" checksum = "8e6073d0ca812575946eb5f35ff68dbe519907b25c42530389ff946dc84c6ead"
dependencies = [ dependencies = [
"ahash", "ahash 0.2.18",
"autocfg 0.1.7", "autocfg 0.1.7",
] ]
[[package]]
name = "hashbrown"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab9b7860757ce258c89fd48d28b68c41713e597a7b09e793f6c6a6e2ea37c827"
dependencies = [
"ahash 0.3.8",
"autocfg 1.0.0",
]
[[package]] [[package]]
name = "heck" name = "heck"
version = "0.3.1" version = "0.3.1"
@@ -2594,7 +2610,17 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e763b2a9b500ba47948061d1e8bc3b5f03a8a1f067dbcf822a4d2c84d2b54a3a" checksum = "e763b2a9b500ba47948061d1e8bc3b5f03a8a1f067dbcf822a4d2c84d2b54a3a"
dependencies = [ dependencies = [
"parity-util-mem", "parity-util-mem 0.6.0",
"smallvec 1.4.1",
]
[[package]]
name = "kvdb"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0315ef2f688e33844400b31f11c263f2b3dc21d8b9355c6891c5f185fae43f9a"
dependencies = [
"parity-util-mem 0.7.0",
"smallvec 1.4.1", "smallvec 1.4.1",
] ]
@@ -2604,23 +2630,34 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73027d5e228de6f503b5b7335d530404fc26230a6ae3e09b33ec6e45408509a4" checksum = "73027d5e228de6f503b5b7335d530404fc26230a6ae3e09b33ec6e45408509a4"
dependencies = [ dependencies = [
"kvdb", "kvdb 0.6.0",
"parity-util-mem", "parity-util-mem 0.6.0",
"parking_lot 0.10.2",
]
[[package]]
name = "kvdb-memorydb"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73de822b260a3bdfb889dbbb65bb2d473eee2253973d6fa4a5d149a2a4a7c66e"
dependencies = [
"kvdb 0.7.0",
"parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
] ]
[[package]] [[package]]
name = "kvdb-rocksdb" name = "kvdb-rocksdb"
version = "0.8.0" version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84384eca250c7ff67877eda5336f28a86586aaee24acb945643590671f6bfce1" checksum = "7c341ef15cfb1f923fa3b5138bfbd2d4813a2c1640b473727a53351c7f0b0fa2"
dependencies = [ dependencies = [
"fs-swap", "fs-swap",
"kvdb", "kvdb 0.7.0",
"log", "log",
"num_cpus", "num_cpus",
"owning_ref", "owning_ref",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"regex", "regex",
"rocksdb", "rocksdb",
@@ -2629,16 +2666,16 @@ dependencies = [
[[package]] [[package]]
name = "kvdb-web" name = "kvdb-web"
version = "0.6.0" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c7f36acb1841d4c701d30ae1f2cfd242e805991443f75f6935479ed3de64903" checksum = "2701a1369d6ea4f1b9f606db46e5e2a4a8e47f22530a07823d653f85ab1f6c34"
dependencies = [ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"js-sys", "js-sys",
"kvdb", "kvdb 0.7.0",
"kvdb-memorydb", "kvdb-memorydb 0.7.0",
"log", "log",
"parity-util-mem", "parity-util-mem 0.7.0",
"send_wrapper 0.3.0", "send_wrapper 0.3.0",
"wasm-bindgen", "wasm-bindgen",
"web-sys", "web-sys",
@@ -3107,7 +3144,16 @@ version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0609345ddee5badacf857d4f547e0e5a2e987db77085c24cd887f73573a04237" checksum = "0609345ddee5badacf857d4f547e0e5a2e987db77085c24cd887f73573a04237"
dependencies = [ dependencies = [
"hashbrown", "hashbrown 0.6.3",
]
[[package]]
name = "lru"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "35c456c123957de3a220cd03786e0d86aa542a88b46029973b542f426da6ef34"
dependencies = [
"hashbrown 0.6.3",
] ]
[[package]] [[package]]
@@ -3167,14 +3213,13 @@ dependencies = [
[[package]] [[package]]
name = "memory-db" name = "memory-db"
version = "0.21.0" version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb2999ff7a65d5a1d72172f6d51fa2ea03024b51aee709ba5ff81c3c629a2410" checksum = "0777fbb396f666701d939e9b3876c18ada6b3581257d88631f2590bc366d8ebe"
dependencies = [ dependencies = [
"ahash",
"hash-db", "hash-db",
"hashbrown", "hashbrown 0.8.0",
"parity-util-mem", "parity-util-mem 0.7.0",
] ]
[[package]] [[package]]
@@ -3394,7 +3439,7 @@ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"hash-db", "hash-db",
"hex", "hex",
"kvdb", "kvdb 0.7.0",
"kvdb-rocksdb", "kvdb-rocksdb",
"lazy_static", "lazy_static",
"log", "log",
@@ -3402,7 +3447,7 @@ dependencies = [
"node-runtime", "node-runtime",
"node-testing", "node-testing",
"parity-db", "parity-db",
"parity-util-mem", "parity-util-mem 0.7.0",
"rand 0.7.3", "rand 0.7.3",
"sc-basic-authorship", "sc-basic-authorship",
"sc-cli", "sc-cli",
@@ -4938,15 +4983,28 @@ dependencies = [
[[package]] [[package]]
name = "parity-util-mem" name = "parity-util-mem"
version = "0.6.1" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c6e2583649a3ca84894d1d71da249abcfda54d5aca24733d72ca10d0f02361c" checksum = "6e42755f26e5ea21a6a819d9e63cbd70713e9867a2b767ec2cc65ca7659532c5"
dependencies = [
"cfg-if",
"impl-trait-for-tuples",
"parity-util-mem-derive",
"parking_lot 0.10.2",
"winapi 0.3.8",
]
[[package]]
name = "parity-util-mem"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "297ff91fa36aec49ce183484b102f6b75b46776822bd81525bfc4cc9b0dd0f5c"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"ethereum-types", "ethereum-types",
"hashbrown", "hashbrown 0.8.0",
"impl-trait-for-tuples", "impl-trait-for-tuples",
"lru", "lru 0.5.3",
"parity-util-mem-derive", "parity-util-mem-derive",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"primitive-types", "primitive-types",
@@ -6082,7 +6140,7 @@ dependencies = [
"log", "log",
"names", "names",
"nix", "nix",
"parity-util-mem", "parity-util-mem 0.7.0",
"regex", "regex",
"rpassword", "rpassword",
"sc-client-api", "sc-client-api",
@@ -6117,8 +6175,8 @@ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"hash-db", "hash-db",
"hex-literal", "hex-literal",
"kvdb", "kvdb 0.7.0",
"kvdb-memorydb", "kvdb-memorydb 0.6.0",
"lazy_static", "lazy_static",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
@@ -6153,14 +6211,14 @@ dependencies = [
"blake2-rfc", "blake2-rfc",
"env_logger 0.7.1", "env_logger 0.7.1",
"hash-db", "hash-db",
"kvdb", "kvdb 0.7.0",
"kvdb-memorydb", "kvdb-memorydb 0.7.0",
"kvdb-rocksdb", "kvdb-rocksdb",
"linked-hash-map", "linked-hash-map",
"log", "log",
"parity-db", "parity-db",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"quickcheck", "quickcheck",
"sc-client-api", "sc-client-api",
@@ -6563,7 +6621,7 @@ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"futures 0.3.5", "futures 0.3.5",
"log", "log",
"parity-util-mem", "parity-util-mem 0.7.0",
"sc-client-api", "sc-client-api",
"sc-network", "sc-network",
"sp-blockchain", "sp-blockchain",
@@ -6631,7 +6689,7 @@ dependencies = [
"linked-hash-map", "linked-hash-map",
"linked_hash_set", "linked_hash_set",
"log", "log",
"lru", "lru 0.4.3",
"nohash-hasher", "nohash-hasher",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.10.2", "parking_lot 0.10.2",
@@ -6676,7 +6734,7 @@ dependencies = [
"futures-timer 3.0.2", "futures-timer 3.0.2",
"libp2p", "libp2p",
"log", "log",
"lru", "lru 0.4.3",
"quickcheck", "quickcheck",
"rand 0.7.3", "rand 0.7.3",
"sc-network", "sc-network",
@@ -6872,7 +6930,7 @@ dependencies = [
"netstat2", "netstat2",
"parity-multiaddr 0.7.3", "parity-multiaddr 0.7.3",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"pin-project", "pin-project",
"procfs", "procfs",
@@ -6964,7 +7022,7 @@ dependencies = [
"env_logger 0.7.1", "env_logger 0.7.1",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parity-util-mem-derive", "parity-util-mem-derive",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"sc-client-api", "sc-client-api",
@@ -7019,7 +7077,7 @@ dependencies = [
"linked-hash-map", "linked-hash-map",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"serde", "serde",
"sp-blockchain", "sp-blockchain",
@@ -7043,7 +7101,7 @@ dependencies = [
"intervalier", "intervalier",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"sc-block-builder", "sc-block-builder",
"sc-client-api", "sc-client-api",
@@ -7546,7 +7604,7 @@ version = "2.0.0-rc4"
dependencies = [ dependencies = [
"derive_more", "derive_more",
"log", "log",
"lru", "lru 0.4.3",
"parity-scale-codec", "parity-scale-codec",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"sp-block-builder", "sp-block-builder",
@@ -7670,7 +7728,7 @@ dependencies = [
"merlin", "merlin",
"num-traits 0.2.11", "num-traits 0.2.11",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
"pretty_assertions", "pretty_assertions",
"primitive-types", "primitive-types",
@@ -7700,7 +7758,7 @@ dependencies = [
name = "sp-database" name = "sp-database"
version = "2.0.0-rc4" version = "2.0.0-rc4"
dependencies = [ dependencies = [
"kvdb", "kvdb 0.7.0",
"parking_lot 0.10.2", "parking_lot 0.10.2",
] ]
@@ -7859,7 +7917,7 @@ dependencies = [
"impl-trait-for-tuples", "impl-trait-for-tuples",
"log", "log",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"paste", "paste",
"rand 0.7.3", "rand 0.7.3",
"serde", "serde",
@@ -8027,7 +8085,7 @@ name = "sp-test-primitives"
version = "2.0.0-rc4" version = "2.0.0-rc4"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"serde", "serde",
"sp-application-crypto", "sp-application-crypto",
"sp-core", "sp-core",
@@ -8392,7 +8450,7 @@ dependencies = [
"pallet-babe", "pallet-babe",
"pallet-timestamp", "pallet-timestamp",
"parity-scale-codec", "parity-scale-codec",
"parity-util-mem", "parity-util-mem 0.7.0",
"sc-block-builder", "sc-block-builder",
"sc-executor", "sc-executor",
"sc-service", "sc-service",
@@ -9150,9 +9208,9 @@ checksum = "a7f741b240f1a48843f9b8e0444fb55fb2a4ff67293b50a9179dfd5ea67f8d41"
[[package]] [[package]]
name = "trie-bench" name = "trie-bench"
version = "0.22.0" version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed8419971832eb3333dc26066e50943a20e0934efeb451b3df5ee94f7f7323ab" checksum = "24987a413863acfa081fb75051d0c2824cd4c450e2f0a7e03dca93ac989775fc"
dependencies = [ dependencies = [
"criterion 0.2.11", "criterion 0.2.11",
"hash-db", "hash-db",
@@ -9166,12 +9224,12 @@ dependencies = [
[[package]] [[package]]
name = "trie-db" name = "trie-db"
version = "0.21.0" version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb230c24c741993b04cfccbabb45acff6f6480c5f00d3ed8794ea43db3a9d727" checksum = "39f1a9a9252d38c5337cf0c5392988821a5cf1b2103245016968f2ab41de9e38"
dependencies = [ dependencies = [
"hash-db", "hash-db",
"hashbrown", "hashbrown 0.8.0",
"log", "log",
"rustc-hex", "rustc-hex",
"smallvec 1.4.1", "smallvec 1.4.1",
+3 -3
View File
@@ -21,8 +21,8 @@ serde = "1.0.101"
serde_json = "1.0.41" serde_json = "1.0.41"
structopt = "0.3" structopt = "0.3"
derive_more = "0.99.2" derive_more = "0.99.2"
kvdb = "0.6" kvdb = "0.7"
kvdb-rocksdb = "0.8" kvdb-rocksdb = "0.9"
sp-trie = { version = "2.0.0-rc4", path = "../../../primitives/trie" } sp-trie = { version = "2.0.0-rc4", path = "../../../primitives/trie" }
sp-core = { version = "2.0.0-rc4", path = "../../../primitives/core" } sp-core = { version = "2.0.0-rc4", path = "../../../primitives/core" }
sp-consensus = { version = "0.8.0-rc4", path = "../../../primitives/consensus/common" } sp-consensus = { version = "0.8.0-rc4", path = "../../../primitives/consensus/common" }
@@ -37,6 +37,6 @@ fs_extra = "1"
hex = "0.4.0" hex = "0.4.0"
rand = { version = "0.7.2", features = ["small_rng"] } rand = { version = "0.7.2", features = ["small_rng"] }
lazy_static = "1.4.0" lazy_static = "1.4.0"
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-db = { version = "0.1.2" } parity-db = { version = "0.1.2" }
futures = "0.3.1" futures = "0.3.1"
+1 -1
View File
@@ -25,7 +25,7 @@ sp-blockchain = { version = "2.0.0-rc4", path = "../../primitives/blockchain" }
hex-literal = { version = "0.2.1" } hex-literal = { version = "0.2.1" }
sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/inherents" } sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/inherents" }
sp-keyring = { version = "2.0.0-rc4", path = "../../primitives/keyring" } sp-keyring = { version = "2.0.0-rc4", path = "../../primitives/keyring" }
kvdb = "0.6.0" kvdb = "0.7.0"
log = { version = "0.4.8" } log = { version = "0.4.8" }
parking_lot = "0.10.0" parking_lot = "0.10.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"
+1 -1
View File
@@ -42,7 +42,7 @@ names = "0.11.0"
structopt = "0.3.8" structopt = "0.3.8"
sc-tracing = { version = "2.0.0-rc4", path = "../tracing" } sc-tracing = { version = "2.0.0-rc4", path = "../tracing" }
chrono = "0.4.10" 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" serde = "1.0.111"
[target.'cfg(not(target_os = "unknown"))'.dependencies] [target.'cfg(not(target_os = "unknown"))'.dependencies]
+5 -5
View File
@@ -14,12 +14,12 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies] [dependencies]
parking_lot = "0.10.0" parking_lot = "0.10.0"
log = "0.4.8" log = "0.4.8"
kvdb = "0.6.0" kvdb = "0.7.0"
kvdb-rocksdb = { version = "0.8", optional = true } kvdb-rocksdb = { version = "0.9", optional = true }
kvdb-memorydb = "0.6.0" kvdb-memorydb = "0.7.0"
linked-hash-map = "0.5.2" linked-hash-map = "0.5.2"
hash-db = "0.15.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"] } codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] }
blake2-rfc = "0.2.18" 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" } substrate-test-runtime-client = { version = "2.0.0-rc4", path = "../../test-utils/runtime/client" }
env_logger = "0.7.0" env_logger = "0.7.0"
quickcheck = "0.9" quickcheck = "0.9"
kvdb-rocksdb = "0.8" kvdb-rocksdb = "0.9"
tempfile = "3" tempfile = "3"
[features] [features]
+1 -1
View File
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
ansi_term = "0.12.1" ansi_term = "0.12.1"
futures = "0.3.4" futures = "0.3.4"
log = "0.4.8" 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-client-api = { version = "2.0.0-rc4", path = "../api" }
sc-network = { version = "0.8.0-rc4", path = "../network" } sc-network = { version = "0.8.0-rc4", path = "../network" }
sp-blockchain = { version = "2.0.0-rc4", path = "../../primitives/blockchain" } 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"} prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus" , version = "0.8.0-rc4"}
sc-tracing = { version = "2.0.0-rc4", path = "../tracing" } sc-tracing = { version = "2.0.0-rc4", path = "../tracing" }
tracing = "0.1.10" 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] [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" } sc-client-api = { version = "2.0.0-rc4", path = "../api" }
sp-core = { version = "2.0.0-rc4", path = "../../primitives/core" } sp-core = { version = "2.0.0-rc4", path = "../../primitives/core" }
codec = { package = "parity-scale-codec", version = "1.3.1", features = ["derive"] } 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" parity-util-mem-derive = "0.1.0"
[dev-dependencies] [dev-dependencies]
+1 -1
View File
@@ -18,7 +18,7 @@ futures = { version = "0.3.1", features = ["compat"] }
futures-diagnose = "1.0" futures-diagnose = "1.0"
intervalier = "0.4.0" intervalier = "0.4.0"
log = "0.4.8" 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" parking_lot = "0.10.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-rc4"} prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0-rc4"}
sc-client-api = { version = "2.0.0-rc4", path = "../api" } 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-core = { version = "2.0.0-rc4", path = "../../../primitives/core" }
sp-runtime = { version = "2.0.0-rc4", path = "../../../primitives/runtime" } sp-runtime = { version = "2.0.0-rc4", path = "../../../primitives/runtime" }
sp-transaction-pool = { version = "2.0.0-rc4", path = "../../../primitives/transaction-pool" } 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" linked-hash-map = "0.5.2"
[dev-dependencies] [dev-dependencies]
+1 -1
View File
@@ -34,7 +34,7 @@ smallvec = "1.4.1"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "0.6.1" pretty_assertions = "0.6.1"
frame-system = { version = "2.0.0-rc4", path = "../system" } frame-system = { version = "2.0.0-rc4", path = "../system" }
parity-util-mem = { version = "0.6.1", features = ["primitive-types"] } parity-util-mem = { version = "0.7.0", features = ["primitive-types"] }
[features] [features]
default = ["std"] default = ["std"]
+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-debug-derive = { version = "2.0.0-rc4", path = "../debug-derive" }
sp-externalities = { version = "0.8.0-rc4", optional = true, path = "../externalities" } sp-externalities = { version = "0.8.0-rc4", optional = true, path = "../externalities" }
sp-storage = { version = "2.0.0-rc4", default-features = false, path = "../storage" } 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 } futures = { version = "0.3.1", optional = true }
# full crypto # full crypto
+1 -1
View File
@@ -11,4 +11,4 @@ documentation = "https://docs.rs/sp-database"
[dependencies] [dependencies]
parking_lot = "0.10.0" 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 } rand = { version = "0.7.2", optional = true }
impl-trait-for-tuples = "0.1.3" impl-trait-for-tuples = "0.1.3"
sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../inherents" } 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 } hash256-std-hasher = { version = "0.15.2", default-features = false }
either = { version = "1.5", default-features = false } either = { version = "1.5", default-features = false }
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
log = "0.4.8" log = "0.4.8"
parking_lot = "0.10.0" parking_lot = "0.10.0"
hash-db = "0.15.2" hash-db = "0.15.2"
trie-db = "0.21.0" trie-db = "0.22.0"
trie-root = "0.16.0" trie-root = "0.16.0"
sp-trie = { version = "2.0.0-rc4", path = "../trie" } sp-trie = { version = "2.0.0-rc4", path = "../trie" }
sp-core = { version = "2.0.0-rc4", path = "../core" } 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" } sp-core = { version = "2.0.0-rc4", default-features = false, path = "../core" }
serde = { version = "1.0.101", optional = true, features = ["derive"] } serde = { version = "1.0.101", optional = true, features = ["derive"] }
sp-runtime = { version = "2.0.0-rc4", default-features = false, path = "../runtime" } 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] [features]
default = [ default = [
+3 -3
View File
@@ -20,13 +20,13 @@ harness = false
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = 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" } sp-std = { version = "2.0.0-rc4", default-features = false, path = "../std" }
hash-db = { version = "0.15.2", default-features = false } 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 } 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" } sp-core = { version = "2.0.0-rc4", default-features = false, path = "../core" }
[dev-dependencies] [dev-dependencies]
trie-bench = "0.22.0" trie-bench = "0.24.0"
trie-standardmap = "0.15.2" trie-standardmap = "0.15.2"
criterion = "0.2.11" criterion = "0.2.11"
hex-literal = "0.2.1" hex-literal = "0.2.1"
+3 -3
View File
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", version = "1.3.1", default-features =
frame-executive = { version = "2.0.0-rc4", default-features = false, path = "../../frame/executive" } frame-executive = { version = "2.0.0-rc4", default-features = false, path = "../../frame/executive" }
sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/inherents" } sp-inherents = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/inherents" }
sp-keyring = { version = "2.0.0-rc4", optional = true, path = "../../primitives/keyring" } sp-keyring = { version = "2.0.0-rc4", optional = true, path = "../../primitives/keyring" }
memory-db = { version = "0.21.0", default-features = false } memory-db = { version = "0.24.0", default-features = false }
sp-offchain = { path = "../../primitives/offchain", default-features = false, version = "2.0.0-rc4"} sp-offchain = { path = "../../primitives/offchain", default-features = false, version = "2.0.0-rc4"}
sp-core = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/core" } sp-core = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/core" }
sp-std = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/std" } sp-std = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/std" }
@@ -39,8 +39,8 @@ pallet-timestamp = { version = "2.0.0-rc4", default-features = false, path = "..
sp-finality-grandpa = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/finality-grandpa" } sp-finality-grandpa = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/finality-grandpa" }
sp-trie = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/trie" } sp-trie = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/trie" }
sp-transaction-pool = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/transaction-pool" } sp-transaction-pool = { version = "2.0.0-rc4", default-features = false, path = "../../primitives/transaction-pool" }
trie-db = { version = "0.21.0", default-features = false } trie-db = { version = "0.22.0", default-features = false }
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-service = { version = "0.8.0-rc4", default-features = false, optional = true, features = ["test-helpers"], path = "../../client/service" } sc-service = { version = "0.8.0-rc4", default-features = false, optional = true, features = ["test-helpers"], path = "../../client/service" }
# 3rd party # 3rd party
+1 -1
View File
@@ -21,7 +21,7 @@ console_log = "0.1.2"
js-sys = "0.3.34" js-sys = "0.3.34"
wasm-bindgen = "0.2.57" wasm-bindgen = "0.2.57"
wasm-bindgen-futures = "0.4.7" wasm-bindgen-futures = "0.4.7"
kvdb-web = "0.6" kvdb-web = "0.7"
sp-database = { version = "2.0.0-rc4", path = "../../primitives/database" } sp-database = { version = "2.0.0-rc4", path = "../../primitives/database" }
sc-informant = { version = "0.8.0-rc4", path = "../../client/informant" } sc-informant = { version = "0.8.0-rc4", path = "../../client/informant" }
sc-service = { version = "0.8.0-rc4", path = "../../client/service", default-features = false } sc-service = { version = "0.8.0-rc4", path = "../../client/service", default-features = false }