Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ build-deb: build-deb-bid-scraper build-deb-rbuilder-operator build-deb-rbuilder-
.PHONY: lint
lint: ## Run the linters
cargo fmt -- --check
cargo clippy --workspace --features "$(FEATURES)" -- -D warnings
cargo clippy --workspace --features "$(FEATURES)" --all-targets -- -D warnings

.PHONY: test
test: ## Run the tests for rbuilder. At reth 1.8.2 we started getting some memory errors (when creating the tmp dbs) so we had to limit the number of threads.
Expand All @@ -166,7 +166,7 @@ lt: lint test ## Run "lint" and "test"
fmt: ## Format the code
cargo fmt
cargo fix --allow-staged
cargo clippy --features "$(FEATURES)" --fix --allow-staged
cargo clippy --workspace --features "$(FEATURES)" --all-targets --fix --allow-staged

.PHONY: bench
bench: ## Run benchmarks
Expand Down
6 changes: 4 additions & 2 deletions crates/rbuilder/benches/benchmarks/txpool_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ use alloy_rpc_types::TransactionRequest;
use alloy_signer_local::PrivateKeySigner;
use criterion::{criterion_group, Criterion};
use rbuilder::live_builder::order_input::{
txpool_fetcher::subscribe_to_txpool_with_blobs, OrderInputConfig,
mempool_txs_detector::MempoolTxsDetector, txpool_fetcher::subscribe_to_txpool_with_blobs,
OrderInputConfig,
};
use std::time::Duration;
use std::{sync::Arc, time::Duration};
use tokio::sync::mpsc;
use tokio_util::sync::CancellationToken;

Expand All @@ -22,6 +23,7 @@ async fn txpool_receive_util(count: u32) {
subscribe_to_txpool_with_blobs(
OrderInputConfig::default_e2e(),
sender,
Arc::new(MempoolTxsDetector::new()),
CancellationToken::new(),
)
.await
Expand Down
2 changes: 0 additions & 2 deletions crates/rbuilder/src/building/block_orders/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
mod prioritized_order_store;

#[cfg(test)]
mod order_dumper;
pub mod order_priority;
mod test_data_generator;
use std::sync::Arc;
Expand Down
64 changes: 0 additions & 64 deletions crates/rbuilder/src/building/block_orders/order_dumper.rs

This file was deleted.

Loading