-
Notifications
You must be signed in to change notification settings - Fork 391
refactor: remove_proofs_from_queue called after submit is OK #1507
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
refactor: remove_proofs_from_queue called after submit is OK #1507
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.
Work as expected, great job! 🚀
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.
LGTM
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.
Still works fine with newest changes!
| batch_state_lock.update_user_proof_count(addr, *proof_count)?; | ||
| batch_state_lock.update_user_max_fee_limit(addr, *max_fee_limit)?; | ||
| batch_state_lock.update_user_total_fees_in_queue(addr, *total_fees_in_queue)?; | ||
| batch_state_lock |
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.
Does this process leave a consistent state?
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.
Co-authored-by: Avila Gastón <[email protected]>
Co-authored-by: Marcos Nicolau <[email protected]>
Co-authored-by: Avila Gastón <[email protected]>
|
Supersedes by #1512 |
Important
Contents of this PR are included in this pr
Leaving this PR as draft so we can visualize the diff, and the comments
Remove proofs from queue only after createNewTask succeeded
Description
This PR removes the sent proofs from the batcher queue only after the submition to eth was succesful.
Type of change
Please delete options that are not relevant.
Checklist
testnet, everything else tostaging