Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Jul 25, 2024
1 parent 5782c63 commit e6ffd79
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions crates/exex/src/exex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ mod tests {
use reth_exex_test_utils::{test_exex_context, PollOnce};
use reth_primitives::{
address, constants::ETH_TO_WEI, hex, Bytes, Header, Receipt, Receipts, SealedBlock,
SealedBlockWithSenders, TransactionSigned, TxEip1559, TxType, B256, U256,
SealedBlockWithSenders, TransactionSigned, TxEip1559, B256, U256,
};
use reth_revm::primitives::AccountInfo;
use std::{future::Future, pin::pin, str::FromStr};
Expand Down Expand Up @@ -234,14 +234,7 @@ mod tests {
};

// Create a Receipts object with a vector of receipt vectors
let receipts = Receipts {
receipt_vec: vec![vec![Some(Receipt {
tx_type: TxType::Legacy,
cumulative_gas_used: 46913,
logs: vec![],
success: true,
})]],
};
let receipts = Receipts { receipt_vec: vec![vec![Some(Receipt::default())]] };

// Send a notification to the Execution Extension that the chain has been committed
handle
Expand Down

0 comments on commit e6ffd79

Please sign in to comment.