another tests.rs

This commit is contained in:
Tan Chee Keong
2024-05-27 08:10:24 +08:00
parent 10ba9ca30d
commit 7f54e9c1ce

View File

@@ -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>>,
@@ -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();
@@ -258,6 +260,7 @@ impl TestRig {
attester_slashing,
proposer_slashing,
voluntary_exit,
bls_to_execution_change,
beacon_processor_tx,
work_journal_rx,
_network_rx,