From 4f1aeb2c79019f1c1ad75274c9ac80a32c6620f6 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sun, 27 Jan 2019 17:57:38 +1100 Subject: [PATCH] Run rustfmt --all --- .../test_harness/src/benching_beacon_node.rs | 2 +- .../beacon_chain/test_harness/src/validator.rs | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/beacon_node/beacon_chain/test_harness/src/benching_beacon_node.rs b/beacon_node/beacon_chain/test_harness/src/benching_beacon_node.rs index afcf4490d7..551fbff99c 100644 --- a/beacon_node/beacon_chain/test_harness/src/benching_beacon_node.rs +++ b/beacon_node/beacon_chain/test_harness/src/benching_beacon_node.rs @@ -1,4 +1,4 @@ -use beacon_chain::block_processing::{Error as ProcessingError, Outcome as ProcessingOutcome}; +use beacon_chain::block_processing::Error as ProcessingError; use beacon_chain::{block_production::Error as BlockProductionError, BeaconChain}; use block_producer::{ BeaconNode as BeaconBlockNode, BeaconNodeError as BeaconBlockNodeError, PublishOutcome, diff --git a/beacon_node/beacon_chain/test_harness/src/validator.rs b/beacon_node/beacon_chain/test_harness/src/validator.rs index 1a04015425..1d7f7bd4a1 100644 --- a/beacon_node/beacon_chain/test_harness/src/validator.rs +++ b/beacon_node/beacon_chain/test_harness/src/validator.rs @@ -15,18 +15,18 @@ pub enum ProduceError { } pub struct TestValidator { - block_producer: BlockProducer< + pub block_producer: BlockProducer< TestingSlotClock, BenchingBeaconNode, DirectDuties, TestSigner, >, - spec: Arc, - epoch_map: Arc>, - keypair: Keypair, - beacon_node: Arc>, - slot_clock: Arc, - signer: Arc, + pub spec: Arc, + pub epoch_map: Arc>, + pub keypair: Keypair, + pub beacon_node: Arc>, + pub slot_clock: Arc, + pub signer: Arc, } impl TestValidator {