Unverified Commit 071e0016 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 71f65169
Pipeline #122851 passed with stages
in 31 minutes and 40 seconds
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 {
......
Supports Markdown
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