mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
Update for the new substrate client API (#2890)
* Update for the new substrate client API * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+175
-161
File diff suppressed because it is too large
Load Diff
@@ -253,6 +253,17 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
}
|
||||
}
|
||||
|
||||
fn block_indexed_body(
|
||||
&self,
|
||||
id: &BlockId<Block>
|
||||
) -> sp_blockchain::Result<Option<Vec<Vec<u8>>>> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.block_indexed_body(id),
|
||||
Self::Westend(client) => client.block_indexed_body(id),
|
||||
Self::Kusama(client) => client.block_indexed_body(id),
|
||||
Self::Rococo(client) => client.block_indexed_body(id),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
|
||||
Reference in New Issue
Block a user