mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: deprecate recoveredtx alias (#13887)
This commit is contained in:
@ -20,7 +20,7 @@ use reth_execution_types::{Chain, ExecutionOutcome};
|
||||
use reth_primitives::{
|
||||
proofs::{calculate_receipt_root, calculate_transaction_root, calculate_withdrawals_root},
|
||||
transaction::SignedTransactionIntoRecoveredExt,
|
||||
BlockBody, EthPrimitives, NodePrimitives, Receipt, Receipts, RecoveredBlock, RecoveredTx,
|
||||
BlockBody, EthPrimitives, NodePrimitives, Receipt, Receipts, Recovered, RecoveredBlock,
|
||||
SealedBlock, SealedHeader, Transaction, TransactionSigned,
|
||||
};
|
||||
use reth_primitives_traits::Account;
|
||||
@ -97,7 +97,7 @@ impl<N: NodePrimitives> TestBlockBuilder<N> {
|
||||
) -> RecoveredBlock<reth_primitives::Block> {
|
||||
let mut rng = thread_rng();
|
||||
|
||||
let mock_tx = |nonce: u64| -> RecoveredTx<_> {
|
||||
let mock_tx = |nonce: u64| -> Recovered<_> {
|
||||
let tx = Transaction::Eip1559(TxEip1559 {
|
||||
chain_id: self.chain_spec.chain.id(),
|
||||
nonce,
|
||||
@ -115,7 +115,7 @@ impl<N: NodePrimitives> TestBlockBuilder<N> {
|
||||
|
||||
let num_txs = rng.gen_range(0..5);
|
||||
let signer_balance_decrease = Self::single_tx_cost() * U256::from(num_txs);
|
||||
let transactions: Vec<RecoveredTx<_>> = (0..num_txs)
|
||||
let transactions: Vec<Recovered<_>> = (0..num_txs)
|
||||
.map(|_| {
|
||||
let tx = mock_tx(self.signer_build_account_info.nonce);
|
||||
self.signer_build_account_info.nonce += 1;
|
||||
|
||||
Reference in New Issue
Block a user