diff --git a/crates/astria-sequencer-relayer/tests/blackbox/helpers/mock_sequencer_server.rs b/crates/astria-sequencer-relayer/tests/blackbox/helpers/mock_sequencer_server.rs index 33ff34d989..afa93e5842 100644 --- a/crates/astria-sequencer-relayer/tests/blackbox/helpers/mock_sequencer_server.rs +++ b/crates/astria-sequencer-relayer/tests/blackbox/helpers/mock_sequencer_server.rs @@ -99,7 +99,7 @@ impl MockSequencerServer { pub enum SequencerBlockToMount { GoodAtHeight(u32), BadAtHeight(u32), - Block(SequencerBlock), + Block(Box), } struct SequencerServiceImpl(MockServer); @@ -152,7 +152,7 @@ fn prepare_sequencer_block_response( ..Default::default() } .make(), - SequencerBlockToMount::Block(block) => block, + SequencerBlockToMount::Block(block) => *block, }; let mut block = block.into_raw(); diff --git a/crates/astria-sequencer-relayer/tests/blackbox/main.rs b/crates/astria-sequencer-relayer/tests/blackbox/main.rs index 93770c5dce..a9a4b40dc2 100644 --- a/crates/astria-sequencer-relayer/tests/blackbox/main.rs +++ b/crates/astria-sequencer-relayer/tests/blackbox/main.rs @@ -263,7 +263,7 @@ async fn should_filter_rollup() { ..Default::default() } .make(); - let block_to_mount = SequencerBlockToMount::Block(block); + let block_to_mount = SequencerBlockToMount::Block(Box::new(block)); sequencer_relayer.mount_abci_response(1).await; sequencer_relayer