-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix(txpool): derive accurate queued reason for SubPool::Blob #20095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(txpool): derive accurate queued reason for SubPool::Blob #20095
Conversation
mattsse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this doesnt look super pretty, but best what we can do and not that horrible
|
pending clippy lint fixes |
Did it mister |
|
thank you sir |
yongkangc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be useful
Blob subpool aggregates all non-pending blob transactions, not just those missing the blob fee. The previous implementation always reported InsufficientBlobFee, misclassifying cases such as nonce gaps, insufficient balance, too much gas, parked ancestors, or insufficient base fee. This change derives the queued reason for blob transactions from TxState flags in a consistent order (structural first, then fees), and adds unit tests to cover the major combinations. Sub-pool routing is unchanged; only the reported reason is corrected.