-
Notifications
You must be signed in to change notification settings - Fork 391
fix: flush batcher queue only when needed #1512
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: flush batcher queue only when needed #1512
Conversation
Co-authored-by: Marcos Nicolau <[email protected]>
Co-authored-by: Marcos Nicolau <[email protected]>
MarcosNicolau
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.
Works alright, but we should merge it with #1507 as it is a dependency.
…from-queue-until-they-are-accepted-on-chain' into 1510-fix-flush-batcher-queue-only-when-needed
Co-authored-by: Avila Gastón <[email protected]>
Co-authored-by: Marcos Nicolau <[email protected]>
Co-authored-by: Avila Gastón <[email protected]>
…from-queue-until-they-are-accepted-on-chain' into 1510-fix-flush-batcher-queue-only-when-needed
MarcosNicolau
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.
Tested on macos, works as expected.
avilagaston9
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.
Works in my machine!
Co-authored-by: Julian Ventura <[email protected]> Co-authored-by: avilagaston9 <[email protected]> Co-authored-by: Marcos Nicolau <[email protected]> Co-authored-by: Marcos Nicolau <[email protected]> Co-authored-by: Avila Gastón <[email protected]>
Flush batcher queue only when necessary
Note
This pr includes the content of #1507.
Description
Modifies the batcher queue's behavior when encountering an error during task creation. Instead of flushing the entire queue by default, the logic now checks the error type. We only flush when the transaction reverted due to:
SubmissionInsufficientBalanceGenericType of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging