mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Companion for substrate#13154 (#6570)
* Remove lifetime from `KeyIterator`
* Remove the lifetime from the method too
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+182
-181
File diff suppressed because it is too large
Load Diff
@@ -480,13 +480,13 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
}
|
||||
}
|
||||
|
||||
fn storage_keys_iter<'a>(
|
||||
fn storage_keys_iter(
|
||||
&self,
|
||||
hash: <Block as BlockT>::Hash,
|
||||
prefix: Option<&'a StorageKey>,
|
||||
prefix: Option<&StorageKey>,
|
||||
start_key: Option<&StorageKey>,
|
||||
) -> sp_blockchain::Result<
|
||||
KeyIterator<'a, <crate::FullBackend as sc_client_api::Backend<Block>>::State, Block>,
|
||||
KeyIterator<<crate::FullBackend as sc_client_api::Backend<Block>>::State, Block>,
|
||||
> {
|
||||
with_client! {
|
||||
self,
|
||||
@@ -527,14 +527,14 @@ impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
}
|
||||
}
|
||||
|
||||
fn child_storage_keys_iter<'a>(
|
||||
fn child_storage_keys_iter(
|
||||
&self,
|
||||
hash: <Block as BlockT>::Hash,
|
||||
child_info: ChildInfo,
|
||||
prefix: Option<&'a StorageKey>,
|
||||
prefix: Option<&StorageKey>,
|
||||
start_key: Option<&StorageKey>,
|
||||
) -> sp_blockchain::Result<
|
||||
KeyIterator<'a, <crate::FullBackend as sc_client_api::Backend<Block>>::State, Block>,
|
||||
KeyIterator<<crate::FullBackend as sc_client_api::Backend<Block>>::State, Block>,
|
||||
> {
|
||||
with_client! {
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user