diff --git a/beacon_node/rest_api/src/lib.rs b/beacon_node/rest_api/src/lib.rs index 8970453a5b..58493d0322 100644 --- a/beacon_node/rest_api/src/lib.rs +++ b/beacon_node/rest_api/src/lib.rs @@ -7,7 +7,7 @@ extern crate network as client_network; mod beacon; pub mod config; mod error; -pub mod helpers; +mod helpers; mod metrics; mod network; mod node; diff --git a/lighthouse/src/main.rs b/lighthouse/src/main.rs index 6a47f854b6..728948ad78 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -162,7 +162,7 @@ fn run( { let runtime_context = environment.core_context(); - let validator = environment + let mut validator = environment .runtime() .block_on(ProductionValidatorClient::new_from_cli( runtime_context, diff --git a/tests/eth1_test_rig/Cargo.toml b/tests/eth1_test_rig/Cargo.toml index 725a8402d5..2f4914e403 100644 --- a/tests/eth1_test_rig/Cargo.toml +++ b/tests/eth1_test_rig/Cargo.toml @@ -9,6 +9,5 @@ web3 = "0.8.0" tokio = "0.1.17" futures = "0.1.25" types = { path = "../../eth2/types"} -eth2_ssz = { path = "../../eth2/utils/ssz"} serde_json = "1.0" deposit_contract = { path = "../../eth2/utils/deposit_contract"} diff --git a/tests/eth1_test_rig/src/lib.rs b/tests/eth1_test_rig/src/lib.rs index c424c0fe43..1c404e2d5f 100644 --- a/tests/eth1_test_rig/src/lib.rs +++ b/tests/eth1_test_rig/src/lib.rs @@ -10,7 +10,6 @@ mod ganache; use deposit_contract::{eth1_tx_data, ABI, BYTECODE, CONTRACT_DEPLOY_GAS, DEPOSIT_GAS}; use futures::{stream, Future, IntoFuture, Stream}; use ganache::GanacheInstance; -use ssz::Encode; use std::time::{Duration, Instant}; use tokio::{runtime::Runtime, timer::Delay}; use types::DepositData;