Skip to content
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

feat(rooch-proposer): add last proposed block repair logic #3104

Merged
merged 5 commits into from
Dec 25, 2024

Conversation

popcnt1
Copy link
Collaborator

@popcnt1 popcnt1 commented Dec 25, 2024

Summary

Add a mechanism to repair the last proposed block inconsistencies during SCC initialization. This ensures better handling of rollback/revert scenarios and maintains proper state alignment in the background submission process.

Add info logs to track rollback success and removed blocks range. This enhances traceability during rollback operations.
Add a mechanism to repair the last proposed block inconsistencies during SCC initialization. This ensures better handling of rollback/revert scenarios and maintains proper state alignment in the background submission process.
Revised the `inner_rollback` function to be private as it is not intended for external use. This change improves encapsulation and aligns with Rust's best practices.
Copy link

vercel bot commented Dec 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 4:03pm
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 4:03pm
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 4:03pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

da-store: inconsistent last_block and submit state after rollback
1 participant