mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: rename reth_primitives::RecoveredTx functions to match alloy::Recovered (#13663)
This commit is contained in:
@ -64,7 +64,7 @@ pub fn broadcast_ingress_bench(c: &mut Criterion) {
|
||||
tx.sender(),
|
||||
ExtendedAccount::new(0, U256::from(100_000_000)),
|
||||
);
|
||||
txs.push(Arc::new(tx.transaction().clone().into_signed()));
|
||||
txs.push(Arc::new(tx.transaction().clone().into_tx()));
|
||||
peer1.send_transactions(peer0_id, txs);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1538,7 +1538,7 @@ impl<T: SignedTransaction> PropagateTransaction<T> {
|
||||
{
|
||||
let size = tx.encoded_length();
|
||||
let transaction = tx.transaction.clone_into_consensus();
|
||||
let transaction = Arc::new(transaction.into_signed());
|
||||
let transaction = Arc::new(transaction.into_tx());
|
||||
Self { size, transaction }
|
||||
}
|
||||
|
||||
|
||||
@ -80,7 +80,7 @@ async fn test_4844_tx_gossip_penalization() {
|
||||
}
|
||||
|
||||
let signed_txs: Vec<Arc<TransactionSigned>> =
|
||||
txs.iter().map(|tx| Arc::new(tx.transaction().clone().into_signed())).collect();
|
||||
txs.iter().map(|tx| Arc::new(tx.transaction().clone().into_tx())).collect();
|
||||
|
||||
let network_handle = peer0.network();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user