Prepare for sub to eth relay (#248)

* fixed PoA contract deploy (granda_authorities call)

* pause if all submitted headers were rejected

* give funds to Bertha and Carlos

* max 1 active PoA transaction in headers sync :(

* display initial header id when deploying PoA contract

* cargo fmt + clipy

* fix compilation

* Update relays/ethereum/src/sync_types.rs

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Update relays/ethereum/src/utils.rs

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
Svyatoslav Nikolsky
2020-07-30 18:05:50 +03:00
committed by Bastian Köcher
parent fddfbb5b1c
commit b98b7d2e43
11 changed files with 117 additions and 72 deletions
@@ -17,10 +17,8 @@
#![cfg(test)]
use crate::sync_loop::{process_future_result, run, SourceClient, TargetClient};
use crate::sync_types::{
HeaderId, HeadersSyncPipeline, MaybeConnectionError, QueuedHeader, SourceHeader, SubmittedHeaders,
};
use crate::utils::retry_backoff;
use crate::sync_types::{HeaderId, HeadersSyncPipeline, QueuedHeader, SourceHeader, SubmittedHeaders};
use crate::utils::{retry_backoff, MaybeConnectionError};
use async_trait::async_trait;
use backoff::backoff::Backoff;