Skip to content
Snippets Groups Projects
Commit c7db9ca5 authored by Arkadiy Paronyan's avatar Arkadiy Paronyan Committed by GitHub
Browse files

Companion for #7963 (IPFS server) (#2315)

* Add missing extrincis function

* "Update Substrate"

Co-authored-by: parity-processbot <>
parent 8a0c8cc4
No related merge requests found
This diff is collapsed.
......@@ -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 {
......
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