mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
12 lines
373 B
Rust
12 lines
373 B
Rust
//! Best transaction and filter testing
|
|
|
|
use reth_transaction_pool::{noop::NoopTransactionPool, BestTransactions, TransactionPool};
|
|
|
|
#[test]
|
|
fn test_best_transactions() {
|
|
let noop = NoopTransactionPool::default();
|
|
let mut best =
|
|
noop.best_transactions().filter_transactions(|_| true).without_blobs().without_updates();
|
|
assert!(best.next().is_none());
|
|
}
|