mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-10 02:57:58 +00:00
* Add missing extrincis function * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+218
-139
File diff suppressed because it is too large
Load Diff
@@ -229,6 +229,19 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
Self::Rococo(client) => client.block_hash(number),
|
||||
}
|
||||
}
|
||||
|
||||
fn extrinsic(
|
||||
&self,
|
||||
id: &<Block as BlockT>::Hash
|
||||
) -> sp_blockchain::Result<Option<<Block as BlockT>::Extrinsic>> {
|
||||
match self {
|
||||
Self::Polkadot(client) => client.extrinsic(id),
|
||||
Self::Westend(client) => client.extrinsic(id),
|
||||
Self::Kusama(client) => client.extrinsic(id),
|
||||
Self::Rococo(client) => client.extrinsic(id),
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
impl sc_client_api::StorageProvider<Block, crate::FullBackend> for Client {
|
||||
|
||||
Reference in New Issue
Block a user