Companion for Substrate#10915 (#5033)

* Companion for Substrate#10915

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Liu-Cheng Xu
2022-03-05 21:47:20 +08:00
committed by GitHub
parent 1bdcf537f0
commit 496c1f953b
4 changed files with 167 additions and 167 deletions
@@ -36,8 +36,7 @@ fn craft_known_storage_proof(input_vec: Vec<(Vec<u8>, Vec<u8>)>) -> (H256, Stora
let vector_element_proof = StorageProof::new(
prove_read(backend, input_vec.iter().map(|x| x.0.as_slice()))
.unwrap()
.iter_nodes()
.collect(),
.iter_nodes(),
);
(root, vector_element_proof)
}