Companion for Substrate#10915 (#1051)

* Companion for Substrate#10915

* Fix compile

* Fix compile

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Liu-Cheng Xu
2022-03-05 22:23:58 +08:00
committed by GitHub
parent e495168051
commit 2ebbbc1dc0
2 changed files with 237 additions and 236 deletions
+236 -234
View File
File diff suppressed because it is too large Load Diff
@@ -416,8 +416,7 @@ impl RelayChainInterface for RelayChainRPCInterface {
.state_get_read_proof(storage_keys, Some(relay_parent))
.await
.map(|read_proof| {
let bytes = read_proof.proof.into_iter().map(|bytes| bytes.to_vec()).collect();
StorageProof::new(bytes)
StorageProof::new(read_proof.proof.into_iter().map(|bytes| bytes.to_vec()))
})
}