Extract minimal ethereum client (#359)
* relay-ethereum-client * use relay-ethereum-client from ethereum-poa-relay * cargo fmt --all * #![warn(missing_docs)] * EthereumRpcClient -> EthereumClient * make EthereumHeadersSyncPipeline private * return concrete type from crate::new * cleanup dependencies * *self -> self * remove trait Client * sort deps
Showing
- bridges/relays/ethereum-client/Cargo.toml 17 additions, 0 deletionsbridges/relays/ethereum-client/Cargo.toml
- bridges/relays/ethereum-client/src/client.rs 142 additions, 0 deletionsbridges/relays/ethereum-client/src/client.rs
- bridges/relays/ethereum-client/src/error.rs 71 additions, 0 deletionsbridges/relays/ethereum-client/src/error.rs
- bridges/relays/ethereum-client/src/lib.rs 48 additions, 0 deletionsbridges/relays/ethereum-client/src/lib.rs
- bridges/relays/ethereum-client/src/rpc.rs 53 additions, 0 deletionsbridges/relays/ethereum-client/src/rpc.rs
- bridges/relays/ethereum-client/src/sign.rs 85 additions, 0 deletionsbridges/relays/ethereum-client/src/sign.rs
- bridges/relays/ethereum-client/src/types.rs 15 additions, 39 deletionsbridges/relays/ethereum-client/src/types.rs
- bridges/relays/ethereum/Cargo.toml 1 addition, 2 deletionsbridges/relays/ethereum/Cargo.toml
- bridges/relays/ethereum/src/ethereum_client.rs 14 additions, 192 deletionsbridges/relays/ethereum/src/ethereum_client.rs
- bridges/relays/ethereum/src/ethereum_deploy_contract.rs 6 additions, 5 deletionsbridges/relays/ethereum/src/ethereum_deploy_contract.rs
- bridges/relays/ethereum/src/ethereum_exchange.rs 15 additions, 11 deletionsbridges/relays/ethereum/src/ethereum_exchange.rs
- bridges/relays/ethereum/src/ethereum_exchange_submit.rs 5 additions, 5 deletionsbridges/relays/ethereum/src/ethereum_exchange_submit.rs
- bridges/relays/ethereum/src/ethereum_sync_loop.rs 50 additions, 15 deletionsbridges/relays/ethereum/src/ethereum_sync_loop.rs
- bridges/relays/ethereum/src/instances.rs 1 addition, 1 deletionbridges/relays/ethereum/src/instances.rs
- bridges/relays/ethereum/src/main.rs 13 additions, 10 deletionsbridges/relays/ethereum/src/main.rs
- bridges/relays/ethereum/src/rpc.rs 1 addition, 59 deletionsbridges/relays/ethereum/src/rpc.rs
- bridges/relays/ethereum/src/rpc_errors.rs 6 additions, 33 deletionsbridges/relays/ethereum/src/rpc_errors.rs
- bridges/relays/ethereum/src/substrate_client.rs 2 additions, 1 deletionbridges/relays/ethereum/src/substrate_client.rs
- bridges/relays/ethereum/src/substrate_sync_loop.rs 8 additions, 7 deletionsbridges/relays/ethereum/src/substrate_sync_loop.rs
- bridges/relays/ethereum/src/substrate_types.rs 3 additions, 4 deletionsbridges/relays/ethereum/src/substrate_types.rs
Please register or sign in to comment