Unverified Commit 10da5c72 authored by cheme's avatar cheme Committed by GitHub
Browse files

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 <>
parent 86f670f3
Pipeline #145928 passed with stages
in 34 minutes and 31 seconds
This diff is collapsed.
...@@ -430,6 +430,22 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client { ...@@ -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( fn child_storage_hash(
&self, &self,
id: &BlockId<Block>, id: &BlockId<Block>,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment