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
+4 -3
View File
@@ -3294,9 +3294,9 @@ dependencies = [
[[package]]
name = "memory-db"
version = "0.24.0"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0777fbb396f666701d939e9b3876c18ada6b3581257d88631f2590bc366d8ebe"
checksum = "36f36ddb0b2cdc25d38babba472108798e3477f02be5165f038c5e393e50c57a"
dependencies = [
"hash-db",
"hashbrown 0.8.0",
@@ -3640,6 +3640,7 @@ dependencies = [
"sp-runtime",
"sp-timestamp",
"sp-transaction-pool",
"sp-trie",
"structopt",
"substrate-browser-utils",
"substrate-build-script-utils",
@@ -9345,7 +9346,7 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bfd5b7557925ce778ff9b9ef90e3ade34c524b5ff10e239c69a42d546d2af56"
dependencies = [
"rand 0.7.3",
"rand 0.3.23",
]
[[package]]