Skip to content

Commit

Permalink
another tests.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
chong-he committed May 27, 2024
1 parent 10ba9ca commit 7f54e9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions beacon_node/network/src/network_beacon_processor/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ struct TestRig {
attester_slashing: AttesterSlashing<E>,
proposer_slashing: ProposerSlashing,
voluntary_exit: SignedVoluntaryExit,
bls_to_execution_change: SignedBlsToExecutionChange,
beacon_processor_tx: BeaconProcessorSend<E>,
work_journal_rx: mpsc::Receiver<&'static str>,
_network_rx: mpsc::UnboundedReceiver<NetworkMessage<E>>,
Expand Down Expand Up @@ -176,6 +177,7 @@ impl TestRig {
let attester_slashing = harness.make_attester_slashing(vec![0, 1]);
let proposer_slashing = harness.make_proposer_slashing(2);
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();

Expand Down Expand Up @@ -258,6 +260,7 @@ impl TestRig {
attester_slashing,
proposer_slashing,
voluntary_exit,
bls_to_execution_change,
beacon_processor_tx,
work_journal_rx,
_network_rx,
Expand Down

0 comments on commit 7f54e9c

Please sign in to comment.