Fix warnings and make CI working again (#4469)

* Fix warnings and make CI working again

* Fix test
This commit is contained in:
Bastian Köcher
2019-12-20 14:47:19 +01:00
committed by Arkadiy Paronyan
parent 7d4c6354df
commit bfad5f3ffc
9 changed files with 48 additions and 47 deletions
@@ -693,7 +693,7 @@ mod tests {
&self,
_: &BlockId<Block>,
_: ExecutionContext,
_: Option<(Block)>,
_: Option<Block>,
_: Vec<u8>,
) -> std::result::Result<NativeOrEncoded<()>, sp_blockchain::Error> {
unimplemented!("Not required for testing!")
@@ -225,7 +225,7 @@ impl Core<Block> for RuntimeApi {
&self,
_: &BlockId<Block>,
_: ExecutionContext,
_: Option<(Block)>,
_: Option<Block>,
_: Vec<u8>,
) -> Result<NativeOrEncoded<()>> {
unimplemented!("Not required for testing!")
+1 -1
View File
@@ -62,7 +62,7 @@ pub struct ImportOperation<Block: BlockT, S, H: Hasher> {
finalized_blocks: Vec<BlockId<Block>>,
set_head: Option<BlockId<Block>>,
storage_update: Option<InMemoryState<H>>,
_phantom: ::std::marker::PhantomData<(S)>,
_phantom: ::std::marker::PhantomData<S>,
}
/// Either in-memory genesis state, or locally-unavailable state.