Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
Browse files Browse the repository at this point in the history
…nto ep-add-rc-to-final-promotion-pipeline
  • Loading branch information
EgorPopelyaev committed Dec 4, 2024
2 parents 6922e61 + 41a5d8e commit 4f88f76
Show file tree
Hide file tree
Showing 25 changed files with 1,420 additions and 379 deletions.
9 changes: 9 additions & 0 deletions prdoc/pr_6405.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: '`fatxpool`: handling limits and priorities improvements'
doc:
- audience: Node Dev
description: |-
This PR provides a number of improvements and fixes around handling limits and priorities in the fork-aware transaction pool.

crates:
- name: sc-transaction-pool
bump: major
4 changes: 2 additions & 2 deletions substrate/client/transaction-pool/benches/basics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn uxt(transfer: TransferData) -> Extrinsic {
}

fn bench_configured(pool: Pool<TestApi>, number: u64, api: Arc<TestApi>) {
let source = TransactionSource::External;
let source = TimedTransactionSource::new_external(false);
let mut futures = Vec::new();
let mut tags = Vec::new();
let at = HashAndNumber {
Expand All @@ -171,7 +171,7 @@ fn bench_configured(pool: Pool<TestApi>, number: u64, api: Arc<TestApi>) {

tags.push(to_tag(nonce, AccountId::from_h256(H256::from_low_u64_be(1))));

futures.push(pool.submit_one(&at, source, xt));
futures.push(pool.submit_one(&at, source.clone(), xt));
}

let res = block_on(futures::future::join_all(futures.into_iter()));
Expand Down
Loading

0 comments on commit 4f88f76

Please sign in to comment.