Run rustfmt --all
This commit is contained in:
parent
fd47f6c433
commit
4f1aeb2c79
@ -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 beacon_chain::{block_production::Error as BlockProductionError, BeaconChain};
|
||||||
use block_producer::{
|
use block_producer::{
|
||||||
BeaconNode as BeaconBlockNode, BeaconNodeError as BeaconBlockNodeError, PublishOutcome,
|
BeaconNode as BeaconBlockNode, BeaconNodeError as BeaconBlockNodeError, PublishOutcome,
|
||||||
|
@ -15,18 +15,18 @@ pub enum ProduceError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub struct TestValidator {
|
pub struct TestValidator {
|
||||||
block_producer: BlockProducer<
|
pub block_producer: BlockProducer<
|
||||||
TestingSlotClock,
|
TestingSlotClock,
|
||||||
BenchingBeaconNode<MemoryDB, TestingSlotClock>,
|
BenchingBeaconNode<MemoryDB, TestingSlotClock>,
|
||||||
DirectDuties<MemoryDB, TestingSlotClock>,
|
DirectDuties<MemoryDB, TestingSlotClock>,
|
||||||
TestSigner,
|
TestSigner,
|
||||||
>,
|
>,
|
||||||
spec: Arc<ChainSpec>,
|
pub spec: Arc<ChainSpec>,
|
||||||
epoch_map: Arc<DirectDuties<MemoryDB, TestingSlotClock>>,
|
pub epoch_map: Arc<DirectDuties<MemoryDB, TestingSlotClock>>,
|
||||||
keypair: Keypair,
|
pub keypair: Keypair,
|
||||||
beacon_node: Arc<BenchingBeaconNode<MemoryDB, TestingSlotClock>>,
|
pub beacon_node: Arc<BenchingBeaconNode<MemoryDB, TestingSlotClock>>,
|
||||||
slot_clock: Arc<TestingSlotClock>,
|
pub slot_clock: Arc<TestingSlotClock>,
|
||||||
signer: Arc<TestSigner>,
|
pub signer: Arc<TestSigner>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl TestValidator {
|
impl TestValidator {
|
||||||
|
Loading…
Reference in New Issue
Block a user