Skip to content

Commit a511802

Browse files
fatxpool: fork aware transaction pool is now default (#8838)
This PR changes the node's default transaction pool to the fork aware implementation. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 63973cc commit a511802

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

prdoc/pr_8838.prdoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title: '`fatxpool`: fork aware transaction pool is now default'
2+
doc:
3+
- audience: Node Operator
4+
description: This PR changes the default transaction pool to the fork aware implementation. The old implementation can be still used with `--pool-type=single-state` command line argument.
5+
crates:
6+
- name: sc-cli
7+
bump: major

substrate/client/cli/src/params/transaction_pool_params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub struct TransactionPoolParams {
5757
pub tx_ban_seconds: Option<u64>,
5858

5959
/// The type of transaction pool to be instantiated.
60-
#[arg(long, value_enum, default_value_t = TransactionPoolType::SingleState)]
60+
#[arg(long, value_enum, default_value_t = TransactionPoolType::ForkAware)]
6161
pub pool_type: TransactionPoolType,
6262
}
6363

0 commit comments

Comments
 (0)