-
Notifications
You must be signed in to change notification settings - Fork 992
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
Crash the ledger if committing a block fails #2657
Conversation
Abides by #759 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2657 +/- ##
=======================================
Coverage 53.38% 53.39%
=======================================
Files 302 302
Lines 103398 103394 -4
=======================================
+ Hits 55203 55211 +8
+ Misses 48195 48183 -12 ☔ View full report in Codecov by Sentry. |
@sug0 I think this is still a breaking changes, no? We could have some nodes crashing with this PR and some other node not crashing on the same block |
in theory yes, but I think no one has ever run into a failing |
* origin/tiago/commit-failure: Changelog for #2657 Document fields in `commit` response Bump last processed Eth block before calling `commit_block` Remove mut response from `commit` Crash if committing a block fails
Describe your changes
Rather than allowing CometBFT to keep processing blocks after a storage write has failed in Namada, we crash the ledger to avoid any potential corruption of state.
This PR is eligible for non-breaking draft.
Indicate on which release or other PRs this topic is based on
v0.31.4
Checklist before merging to
draft