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 Xuandparity-processbot authored and GitHub committed 2022-03-05 14:23:58 +00:00
1 parent e495168051
commit 2ebbbc1dc0
2 files changed
+237 -236

No files matched your search

+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()))
})
}