mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: simplify Receipts implementation (#8710)
This commit is contained in:
@ -261,8 +261,8 @@ mod tests {
|
||||
use reth::revm::db::BundleState;
|
||||
use reth_exex_test_utils::{test_exex_context, PollOnce};
|
||||
use reth_primitives::{
|
||||
Address, Block, Header, Log, Receipt, Receipts, Transaction, TransactionSigned, TxKind,
|
||||
TxLegacy, TxType, U256,
|
||||
Address, Block, Header, Log, Receipt, Transaction, TransactionSigned, TxKind, TxLegacy,
|
||||
TxType, U256,
|
||||
};
|
||||
use reth_provider::{BundleStateWithReceipts, Chain};
|
||||
use reth_testing_utils::generators::sign_tx_with_random_key_pair;
|
||||
@ -343,7 +343,7 @@ mod tests {
|
||||
vec![block.clone()],
|
||||
BundleStateWithReceipts::new(
|
||||
BundleState::default(),
|
||||
Receipts::from_block_receipt(vec![deposit_tx_receipt, withdrawal_tx_receipt]),
|
||||
vec![deposit_tx_receipt, withdrawal_tx_receipt].into(),
|
||||
block.number,
|
||||
),
|
||||
None,
|
||||
|
||||
Reference in New Issue
Block a user