mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
another tests.rs
This commit is contained in:
@@ -59,6 +59,7 @@ struct TestRig {
|
|||||||
attester_slashing: AttesterSlashing<E>,
|
attester_slashing: AttesterSlashing<E>,
|
||||||
proposer_slashing: ProposerSlashing,
|
proposer_slashing: ProposerSlashing,
|
||||||
voluntary_exit: SignedVoluntaryExit,
|
voluntary_exit: SignedVoluntaryExit,
|
||||||
|
bls_to_execution_change: SignedBlsToExecutionChange,
|
||||||
beacon_processor_tx: BeaconProcessorSend<E>,
|
beacon_processor_tx: BeaconProcessorSend<E>,
|
||||||
work_journal_rx: mpsc::Receiver<&'static str>,
|
work_journal_rx: mpsc::Receiver<&'static str>,
|
||||||
_network_rx: mpsc::UnboundedReceiver<NetworkMessage<E>>,
|
_network_rx: mpsc::UnboundedReceiver<NetworkMessage<E>>,
|
||||||
@@ -176,6 +177,7 @@ impl TestRig {
|
|||||||
let attester_slashing = harness.make_attester_slashing(vec![0, 1]);
|
let attester_slashing = harness.make_attester_slashing(vec![0, 1]);
|
||||||
let proposer_slashing = harness.make_proposer_slashing(2);
|
let proposer_slashing = harness.make_proposer_slashing(2);
|
||||||
let voluntary_exit = harness.make_voluntary_exit(3, harness.chain.epoch().unwrap());
|
let voluntary_exit = harness.make_voluntary_exit(3, harness.chain.epoch().unwrap());
|
||||||
|
let bls_to_execution_change = harness.make_bls_to_execution_change(4, Address::zero());
|
||||||
|
|
||||||
let chain = harness.chain.clone();
|
let chain = harness.chain.clone();
|
||||||
|
|
||||||
@@ -258,6 +260,7 @@ impl TestRig {
|
|||||||
attester_slashing,
|
attester_slashing,
|
||||||
proposer_slashing,
|
proposer_slashing,
|
||||||
voluntary_exit,
|
voluntary_exit,
|
||||||
|
bls_to_execution_change,
|
||||||
beacon_processor_tx,
|
beacon_processor_tx,
|
||||||
work_journal_rx,
|
work_journal_rx,
|
||||||
_network_rx,
|
_network_rx,
|
||||||
|
|||||||
Reference in New Issue
Block a user