mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +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,
|
&self,
|
||||||
hash: <Block as BlockT>::Hash,
|
hash: <Block as BlockT>::Hash,
|
||||||
prefix: Option<&'a StorageKey>,
|
prefix: Option<&StorageKey>,
|
||||||
start_key: Option<&StorageKey>,
|
start_key: Option<&StorageKey>,
|
||||||
) -> sp_blockchain::Result<
|
) -> 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! {
|
with_client! {
|
||||||
self,
|
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,
|
&self,
|
||||||
hash: <Block as BlockT>::Hash,
|
hash: <Block as BlockT>::Hash,
|
||||||
child_info: ChildInfo,
|
child_info: ChildInfo,
|
||||||
prefix: Option<&'a StorageKey>,
|
prefix: Option<&StorageKey>,
|
||||||
start_key: Option<&StorageKey>,
|
start_key: Option<&StorageKey>,
|
||||||
) -> sp_blockchain::Result<
|
) -> 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! {
|
with_client! {
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user