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 authored and GitHub committed 2021-09-07 16:21:42 +00:00
1 parent 16144e7404
commit 0a8b3ddedc
3 files changed
+105 -1

No files matched your search

@@ -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"]