Companion for #9100 (Paged keys rpc for child storage.) (#3258)

* patch branch

* patch bis

* Add missing client method.

* unpatch

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
chemeandparity-processbot authored and GitHub committed 2021-07-07 07:53:33 +00:00
1 parent 528e751753
commit b71ec24815
2 files changed
+170 -152

No files matched your search

+154 -152
View File
File diff suppressed because it is too large. Load diff
+16
View File
@@ -430,6 +430,22 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
}
}
fn child_storage_keys_iter<'a>(
&self,
id: &BlockId<Block>,
child_info: ChildInfo,
prefix: Option<&'a StorageKey>,
start_key: Option<&StorageKey>,
) -> sp_blockchain::Result<KeyIterator<'a, <crate::FullBackend as sc_client_api::Backend<Block>>::State, Block>> {
with_client! {
self,
client,
{
client.child_storage_keys_iter(id, child_info, prefix, start_key)
}
}
}
fn child_storage_hash(
&self,
id: &BlockId<Block>,