Use prefixed keys for trie node. (#2130)

* Account for pending insertions when pruning

* Prefixed trie storage

* Comments

* Prefixed trie storage

* Fixed tests

* Fixed tests

* Bumped runtime version

* Bumped runtime version again
This commit is contained in:
Arkadiy Paronyan
2019-03-28 18:46:21 +01:00
committed by Gav Wood
parent f9d0da0a18
commit 7046e13de2
29 changed files with 295 additions and 266 deletions
+7 -7
View File
@@ -13,16 +13,16 @@ harness = false
[dependencies]
codec = { package = "parity-codec", version = "3.2" }
hash-db = { version = "0.11", default-features = false }
trie-db = { version = "0.11", optional = true }
trie-root = { version = "0.11", default-features = false }
memory-db = { version = "0.11", optional = true }
hash-db = { version = "0.12", default-features = false }
trie-db = { version = "0.12", optional = true }
trie-root = { version = "0.12", default-features = false }
memory-db = { version = "0.12", optional = true }
[dev-dependencies]
substrate-primitives = { path = "../primitives" }
trie-bench = { version = "0.11" }
trie-standardmap = { version = "0.11" }
keccak-hasher = { version = "0.11" }
trie-bench = { version = "0.12" }
trie-standardmap = { version = "0.12" }
keccak-hasher = { version = "0.12" }
criterion = "0.2"
hex-literal = "0.1.0"