chore: use generics for RecoveredTx (#13650)

This commit is contained in:
Matthias Seitz
2025-01-04 12:14:24 +01:00
committed by GitHub
parent fc9d95a4d1
commit b18b0ee848
7 changed files with 23 additions and 23 deletions

View File

@@ -1572,7 +1572,7 @@ mod tests {
}
let single_tx_cost = U256::from(INITIAL_BASE_FEE * MIN_TRANSACTION_GAS);
let mock_tx = |nonce: u64| -> RecoveredTx {
let mock_tx = |nonce: u64| -> RecoveredTx<_> {
TransactionSigned::new_unhashed(
Transaction::Eip1559(TxEip1559 {
chain_id: chain_spec.chain.id(),
@@ -1589,7 +1589,7 @@ mod tests {
let mock_block = |number: u64,
parent: Option<B256>,
body: Vec<RecoveredTx>,
body: Vec<RecoveredTx<TransactionSigned>>,
num_of_signer_txs: u64|
-> SealedBlockWithSenders {
let signed_body =