Extract (headers, exchange, messages) relay loops into separate crates (#357)
* extracted relay crates * moved metrics to utils * exchange-relay compilation * fix compilation of headers-relay * fixed messages-relay compilation * fixed ethereum-poa-relay compilation * cargo lock * cargo fmt --all * clippy * cargo fmt --all * fix tests compilation * clippy * eof * module level docs * removed obsolete comment * #![warn(missing_docs)] * .0 -> Deref * post-merge fix * cargo fmt * Update relays/headers-relay/src/headers.rs Co-authored-by:Hernando Castano <HCastano@users.noreply.github.com> * Update relays/headers-relay/src/headers.rs Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com> * Update relays/headers-relay/src/lib.rs Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com> Co-authored-by:
Hernando Castano <HCastano@users.noreply.github.com>
parent
fa2abfb1
Showing
- bridges/relays/ethereum/Cargo.toml 4 additions, 6 deletionsbridges/relays/ethereum/Cargo.toml
- bridges/relays/ethereum/src/ethereum_client.rs 16 additions, 14 deletionsbridges/relays/ethereum/src/ethereum_client.rs
- bridges/relays/ethereum/src/ethereum_deploy_contract.rs 1 addition, 1 deletionbridges/relays/ethereum/src/ethereum_deploy_contract.rs
- bridges/relays/ethereum/src/ethereum_exchange.rs 6 additions, 7 deletionsbridges/relays/ethereum/src/ethereum_exchange.rs
- bridges/relays/ethereum/src/ethereum_sync_loop.rs 12 additions, 8 deletionsbridges/relays/ethereum/src/ethereum_sync_loop.rs
- bridges/relays/ethereum/src/ethereum_types.rs 22 additions, 4 deletionsbridges/relays/ethereum/src/ethereum_types.rs
- bridges/relays/ethereum/src/instances.rs 2 additions, 2 deletionsbridges/relays/ethereum/src/instances.rs
- bridges/relays/ethereum/src/main.rs 29 additions, 25 deletionsbridges/relays/ethereum/src/main.rs
- bridges/relays/ethereum/src/rpc_errors.rs 1 addition, 2 deletionsbridges/relays/ethereum/src/rpc_errors.rs
- bridges/relays/ethereum/src/substrate_client.rs 2 additions, 2 deletionsbridges/relays/ethereum/src/substrate_client.rs
- bridges/relays/ethereum/src/substrate_sync_loop.rs 11 additions, 8 deletionsbridges/relays/ethereum/src/substrate_sync_loop.rs
- bridges/relays/ethereum/src/substrate_types.rs 21 additions, 4 deletionsbridges/relays/ethereum/src/substrate_types.rs
- bridges/relays/exchange-relay/Cargo.toml 16 additions, 0 deletionsbridges/relays/exchange-relay/Cargo.toml
- bridges/relays/exchange-relay/src/exchange.rs 4 additions, 5 deletionsbridges/relays/exchange-relay/src/exchange.rs
- bridges/relays/exchange-relay/src/exchange_loop.rs 6 additions, 4 deletionsbridges/relays/exchange-relay/src/exchange_loop.rs
- bridges/relays/exchange-relay/src/exchange_loop_metrics.rs 7 additions, 4 deletionsbridges/relays/exchange-relay/src/exchange_loop_metrics.rs
- bridges/relays/exchange-relay/src/lib.rs 26 additions, 0 deletionsbridges/relays/exchange-relay/src/lib.rs
- bridges/relays/headers-relay/Cargo.toml 17 additions, 0 deletionsbridges/relays/headers-relay/Cargo.toml
- bridges/relays/headers-relay/src/headers.rs 70 additions, 64 deletionsbridges/relays/headers-relay/src/headers.rs
- bridges/relays/headers-relay/src/lib.rs 33 additions, 0 deletionsbridges/relays/headers-relay/src/lib.rs
Please register or sign in to comment