BlockId removal: refactor: Backend::block_indexed_body (#12609)

* BlockId removal: refactor: Backend::block_indexed_body

It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash`

This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)

* trigger CI job
This commit is contained in:
Michal Kucharczyk
2022-11-03 17:57:10 +01:00
committed by GitHub
parent 153399431b
commit 11b6409c12
6 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ impl<Block: BlockT> blockchain::Backend<Block> for Blockchain<Block> {
fn block_indexed_body(
&self,
_id: BlockId<Block>,
_hash: &Block::Hash,
) -> sp_blockchain::Result<Option<Vec<Vec<u8>>>> {
unimplemented!("Not supported by the in-mem backend.")
}