Skip to content

fatxpool: report_invalid is now aync#8836

Merged
michalkucharczyk merged 7 commits intomasterfrom
mku-report-invalid-is-async
Jun 25, 2025
Merged

fatxpool: report_invalid is now aync#8836
michalkucharczyk merged 7 commits intomasterfrom
mku-report-invalid-is-async

Conversation

@michalkucharczyk
Copy link
Copy Markdown
Contributor

@michalkucharczyk michalkucharczyk commented Jun 12, 2025

TransactionPool::report_invalid is now async, function was typically used in async context, seems right to be fully async.

Note: expected to be merged after: #8596

@michalkucharczyk michalkucharczyk force-pushed the mku-report-invalid-is-async branch from 8506c81 to 1d78644 Compare June 12, 2025 10:36
@michalkucharczyk
Copy link
Copy Markdown
Contributor Author

/cmd prdoc --bump major --audience node_dev

@michalkucharczyk michalkucharczyk marked this pull request as ready for review June 12, 2025 11:18
@michalkucharczyk
Copy link
Copy Markdown
Contributor Author

@iulianbarbu @skunert: I extracted API changes from #8596 to this PR, so #8596 does not change the API of txpool (and can be easily backported).

@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/15615493611
Failed job name: cargo-clippy

@michalkucharczyk michalkucharczyk added T0-node This PR/Issue is related to the topic “node”. R0-no-crate-publish-required The change does not require any crates to be re-published. labels Jun 12, 2025
@michalkucharczyk
Copy link
Copy Markdown
Contributor Author

Please don't merge this one yet.

We first need to merge some fixes (to avoid conflicts with backports).

@michalkucharczyk michalkucharczyk added this pull request to the merge queue Jun 25, 2025
Merged via the queue into master with commit 9b4cfe6 Jun 25, 2025
244 checks passed
@michalkucharczyk michalkucharczyk deleted the mku-report-invalid-is-async branch June 25, 2025 10:02
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
[`TransactionPool::report_invalid`](https://github.com/paritytech/polkadot-sdk/blob/74dafaee5c600fd2c8a59a280f647f94ccf0a755/substrate/client/transaction-pool/api/src/lib.rs#L314)
is now `async`, function was typically used in async context, seems
right to be fully async.

_Note_: expected to be merged after: #8596

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants