Skip to content

Commit 5dbd958

Browse files
forkfuryUsermattsse
authored
feat(anvil): calculate max_transactions based on block gas capacity (foundry-rs#11670)
* Update config.rs * Revert "Update config.rs" This reverts commit 7c7bd60. * Update config.rs --------- Co-authored-by: User <[email protected]> Co-authored-by: Matthias Seitz <[email protected]>
1 parent d72d14b commit 5dbd958

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/anvil/src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ impl Default for NodeConfig {
458458
no_mining: false,
459459
mixed_mining: false,
460460
port: NODE_PORT,
461-
// TODO make this something dependent on block capacity
462461
max_transactions: 1_000,
463462
eth_rpc_url: None,
464463
fork_choice: None,

0 commit comments

Comments
 (0)