Add memory-tracker feature to sp-trie to fix wasm panic (#6745)

* Add memory tracker feature to sp-trie to fix wasm panic

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Ashley
2020-07-30 09:41:08 +02:00
committed by GitHub
parent dc33e64643
commit 8fc8c81144
4 changed files with 20 additions and 6 deletions
+1
View File
@@ -109,6 +109,7 @@ browser-utils = { package = "substrate-browser-utils", path = "../../../utils/br
node-executor = { version = "2.0.0-rc5", path = "../executor", features = [ "wasmtime" ] }
sc-cli = { version = "0.8.0-rc5", optional = true, path = "../../../client/cli", features = [ "wasmtime" ] }
sc-service = { version = "0.8.0-rc5", default-features = false, path = "../../../client/service", features = [ "wasmtime" ] }
sp-trie = { version = "2.0.0-rc5", default-features = false, path = "../../../primitives/trie", features = ["memory-tracker"] }
[dev-dependencies]
sc-keystore = { version = "2.0.0-rc5", path = "../../../client/keystore" }