Upgdate to latest polkadot & substrate (#263)

* Upgdate to latest polkadot & substrate

* Fix code formatting (cargo fmt)

* Fix unit tests
This commit is contained in:
Alexander Krupenkin
2020-12-10 16:28:02 +03:00
committed by GitHub
parent f327cd96dc
commit ea10fa8230
10 changed files with 630 additions and 527 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ use futures::{
};
use log::trace;
use std::{marker::PhantomData, pin::Pin, sync::Arc, fmt};
use std::{fmt, marker::PhantomData, pin::Pin, sync::Arc};
use wait_on_relay_chain_block::WaitOnRelayChainBlock;
@@ -62,7 +62,7 @@ type BoxedError = Box<dyn std::error::Error + Send>;
#[derive(Debug)]
struct BlockAnnounceError(String);
impl std::error::Error for BlockAnnounceError { }
impl std::error::Error for BlockAnnounceError {}
impl fmt::Display for BlockAnnounceError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {