Skip to content

Conversation

@zhangsoledad
Copy link
Member

@zhangsoledad zhangsoledad commented Dec 9, 2025

What's Changed:

This PR fixes a series of logical issues in the tx-pool and block-template construction related to proposal transactions:

Prioritize proposal transactions
Proposals are now given the highest priority in the txpool.

Allow compact block recovery to use transactions from verify_queue
Compact-block reconstruction previously only searched the main pool, leading to unnecessary “missing transaction” failures when a proposal was already in verify_queue. The reconciler now checks pool_map, verify_queue, and the orphan set (when relevant).

Fix proposal selection logic in block template
The previous implementation had several severe bugs:

  • Not consider to exclude proposals whose content had already been included in previous blocks (re-proposing the same data).

Related changes

  • PR to update owner/repo:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Integration test

Release note

Note: Add a note under the PR title in the release note.

@zhangsoledad zhangsoledad force-pushed the zhangsoledad/fix-txpool-proposal branch 2 times, most recently from e61a27e to e4018fc Compare December 11, 2025 12:52
@zhangsoledad zhangsoledad marked this pull request as ready for review December 11, 2025 13:06
@zhangsoledad zhangsoledad requested a review from a team as a code owner December 11, 2025 13:06
@zhangsoledad zhangsoledad requested review from quake and removed request for a team December 11, 2025 13:06
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/fix-txpool-proposal branch 3 times, most recently from c8e5857 to df212c2 Compare December 29, 2025 16:57
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/fix-txpool-proposal branch 3 times, most recently from bc896d1 to 4853f0b Compare January 6, 2026 09:59
chenyukang and others added 8 commits January 7, 2026 17:48
### What problem does this PR solve?

Problem Summary: Integration tests in CI is unstable, especially on
macOS

### What is changed and how it works?

What's Changed: Run test cases in 8 jobs. Run test cases in sequence
without concurrency inside jobs.

### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

- No code
@zhangsoledad zhangsoledad force-pushed the zhangsoledad/fix-txpool-proposal branch from c44d17e to eadfec1 Compare January 7, 2026 09:51
@zhangsoledad zhangsoledad requested review from RetricSu, chenyukang, doitian and eval-exec and removed request for RetricSu January 7, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants