Prepare for sub to eth relay - part2 (#253)
* 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 * update PoA contract to accept <= 4 Substrate headers at once * pause submitting headers when contract rejects all new headers + we have active transactions * fix compilation * cargo fmt --all * does_not_select_new_headers_to_submit_when_submit_is_paused * updated bridge contract * Update relays/ethereum/src/sync.rs Co-authored-by:Hernando Castano <HCastano@users.noreply.github.com> * WiP. * Submit first incomplete header. * Finish up test. * cargo fmt --all * Remove redundant clone. * Address review comments. * cargo fmt --all * Fix clippy. Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by:
Tomasz Drwięga <tomasz@parity.io>
Showing
- bridges/relays/ethereum/res/substrate-bridge-abi.json 36 additions, 6 deletionsbridges/relays/ethereum/res/substrate-bridge-abi.json
- bridges/relays/ethereum/res/substrate-bridge-bytecode.hex 1 addition, 1 deletionbridges/relays/ethereum/res/substrate-bridge-bytecode.hex
- bridges/relays/ethereum/res/substrate-bridge-metadata.txt 4 additions, 4 deletionsbridges/relays/ethereum/res/substrate-bridge-metadata.txt
- bridges/relays/ethereum/src/ethereum_client.rs 289 additions, 74 deletionsbridges/relays/ethereum/src/ethereum_client.rs
- bridges/relays/ethereum/src/exchange_loop.rs 1 addition, 1 deletionbridges/relays/ethereum/src/exchange_loop.rs
- bridges/relays/ethereum/src/rpc_errors.rs 3 additions, 0 deletionsbridges/relays/ethereum/src/rpc_errors.rs
- bridges/relays/ethereum/src/substrate_client.rs 21 additions, 19 deletionsbridges/relays/ethereum/src/substrate_client.rs
- bridges/relays/ethereum/src/sync.rs 65 additions, 0 deletionsbridges/relays/ethereum/src/sync.rs
- bridges/relays/ethereum/src/sync_loop.rs 13 additions, 3 deletionsbridges/relays/ethereum/src/sync_loop.rs
Please register or sign in to comment