Fix compact proof decoding unaccessed last child trie. (#9715)

* fix no child proof attached but root included.

* small stress test for proof of child tries.

* rust fmt
This commit is contained in:
cheme
2021-09-07 18:21:42 +02:00
committed by GitHub
parent 16144e7404
commit 0a8b3ddedc
3 changed files with 105 additions and 1 deletions
@@ -35,6 +35,7 @@ tracing = { version = "0.1.22", optional = true }
hex-literal = "0.3.1"
sp-runtime = { version = "4.0.0-dev", path = "../runtime" }
pretty_assertions = "0.6.1"
rand = { version = "0.7.2", feature = ["small_rng"] }
[features]
default = ["std"]