Skip to content

Conversation

@pthmas
Copy link
Collaborator

@pthmas pthmas commented Dec 8, 2025


Fixed a bug where, when a block had only Short Term Clob Order Transactions these would be remove form the mempool but recheckTxs would try to recheck an empty mempool, but still wait for the channel signal that all the transactions are processed. This would cause the node to idle until the recheck_timeout duration was over. Over time, this would cause the node to fall behind consensus consistently for sometimes hours at a time. The small changes in this PR implement a check after the Short Term Clob Order Transactions to verify if there are still other transactions in the mempool to run RecheckTx on.

@pthmas pthmas self-assigned this Dec 8, 2025
}
}

if mem.Size() <= 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could you add a quick comment on why it's important to early return here when mem.Size() is 0/

@pthmas pthmas force-pushed the pierrick/fix-recheck-idle branch from c755a1c to a2cf77d Compare December 8, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants