Skip to content

Commit 69c8ea4

Browse files
committed
remove dead code
1 parent 6435f4e commit 69c8ea4

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

bin/lumen/src/builder.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ impl RollkitPayloadBuilderBuilder {
5050
let config = RollkitPayloadBuilderConfig {
5151
max_transactions: 1000,
5252
min_gas_price: 1_000_000_000, // 1 Gwei
53-
max_txpool_bytes: 2_027_520, // 1.98 MB
5453
};
5554
info!("Created Rollkit payload builder with config: {:?}", config);
5655
Self { config }

crates/node/src/config.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,23 @@ pub struct RollkitPayloadBuilderConfig {
77
pub max_transactions: usize,
88
/// Minimum gas price for transactions
99
pub min_gas_price: u64,
10-
/// Maximum bytes of transactions to return from the txpool
11-
pub max_txpool_bytes: u64,
1210
}
1311

1412
impl Default for RollkitPayloadBuilderConfig {
1513
fn default() -> Self {
1614
Self {
1715
max_transactions: 1000,
1816
min_gas_price: 1_000_000_000, // 1 Gwei
19-
max_txpool_bytes: 2_027_520, // 1.98 MB
2017
}
2118
}
2219
}
2320

2421
impl RollkitPayloadBuilderConfig {
2522
/// Creates a new instance of `RollkitPayloadBuilderConfig`
26-
pub const fn new(max_transactions: usize, min_gas_price: u64, max_txpool_bytes: u64) -> Self {
23+
pub const fn new(max_transactions: usize, min_gas_price: u64) -> Self {
2724
Self {
2825
max_transactions,
2926
min_gas_price,
30-
max_txpool_bytes,
3127
}
3228
}
3329

0 commit comments

Comments
 (0)