Start using trie db

This commit is contained in:
Bastian Köcher
2019-04-03 22:10:13 +02:00
parent 80b222c79d
commit 2c6bf07e7d
10 changed files with 1355 additions and 3703 deletions
+11
View File
@@ -8,8 +8,14 @@ edition = "2018"
codec = { package = "parity-codec", version = "3.1", default-features = false, features = [ "derive" ] }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
runtime-primitives = { package = "sr-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
rio = { package = "sr-io", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
executive = { package = "srml-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
substrate-trie = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
memory-db = { version = "0.12.2", default-features = false }
hash-db = { version = "0.12.2", default-features = false }
trie-db = { version = "0.12.2", default-features = false }
hashbrown = "0.1"
[dev-dependencies]
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
@@ -24,5 +30,10 @@ std = [
"rstd/std",
"rio/std",
"runtime-primitives/std",
"primitives/std",
"executive/std",
"memory-db/std",
"hash-db/std",
"trie-db/std",
]
wasm = ["hashbrown/nightly"]