mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
tx-pool: Make txpool independent of primitive tx types (#9916)
This commit is contained in:
@ -798,7 +798,7 @@ mod tests {
|
||||
EthPooledTransaction, Pool, TransactionPool,
|
||||
};
|
||||
use reth_chainspec::MAINNET;
|
||||
use reth_primitives::{hex, FromRecoveredPooledTransaction, PooledTransactionsElement, U256};
|
||||
use reth_primitives::{hex, PooledTransactionsElement, U256};
|
||||
use reth_provider::test_utils::{ExtendedAccount, MockEthProvider};
|
||||
|
||||
fn get_transaction() -> EthPooledTransaction {
|
||||
@ -807,7 +807,7 @@ mod tests {
|
||||
let data = hex::decode(raw).unwrap();
|
||||
let tx = PooledTransactionsElement::decode_enveloped(&mut data.as_ref()).unwrap();
|
||||
|
||||
EthPooledTransaction::from_recovered_pooled_transaction(tx.try_into_ecrecovered().unwrap())
|
||||
tx.try_into_ecrecovered().unwrap().into()
|
||||
}
|
||||
|
||||
// <https://github.com/paradigmxyz/reth/issues/5178>
|
||||
|
||||
Reference in New Issue
Block a user