mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00: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());
|
|
}
|