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-da): ensure batch continuity and fix tx order error #3197

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

popcnt1
Copy link
Collaborator

@popcnt1 popcnt1 commented Jan 15, 2025

Summary

Refactored BatchMaker to validate transaction order continuity, preventing mismatches between tx_order_start and the last block's tx_order_end. Introduced better error handling during batch creation to avoid database update inconsistencies. Updated tests to confirm correct behavior under the new logic.

Refactored BatchMaker to validate transaction order continuity, preventing mismatches between tx_order_start and the last block's tx_order_end. Introduced better error handling during batch creation to avoid database update inconsistencies. Updated tests to confirm correct behavior under the new logic.
@popcnt1 popcnt1 requested a review from jolestar as a code owner January 15, 2025 16:33
Copy link

vercel bot commented Jan 15, 2025

@popcnt1 is attempting to deploy a commit to the Rooch Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jan 15, 2025

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 4:34pm

@jolestar jolestar merged commit 9a354e9 into rooch-network:main Jan 16, 2025
7 of 10 checks passed
@popcnt1 popcnt1 deleted the fix/da/batch/maker branch January 16, 2025 08:49
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: failed database updates when append new block cause BatchMaker inconsistent
2 participants