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

refactor(rooch-db): refine best rollback logic and structure #3118

Merged
merged 3 commits into from
Dec 28, 2024

Conversation

popcnt1
Copy link
Collaborator

@popcnt1 popcnt1 commented Dec 28, 2024

Summary

  1. Revise the best rollback logic with enhanced hash comparison and clearer user feedback. Improve structure definitions, parameter handling, and overall usability.
  2. Fix infinite loop issue in segment fetching with increment logic.

1. Revise the best rollback logic with enhanced hash comparison and clearer user feedback. Improve structure definitions, parameter handling, and overall usability.
2. Fix infinite loop issue in segment fetching with increment logic.
Copy link

vercel bot commented Dec 28, 2024

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

Name Status Preview Comments Updated (UTC)
rooch-portal-v2.1 🛑 Canceled (Inspect) Dec 28, 2024 4:47pm
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 28, 2024 4:47pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Dec 28, 2024 4:47pm

popcnt1 and others added 2 commits December 29, 2024 00:41
Replace `len() == 0` with `is_empty` for improved code readability and clarity. This ensures the condition check is more idiomatic and consistent with Rust conventions.
@popcnt1 popcnt1 merged commit 2e242ca into rooch-network:main Dec 28, 2024
6 of 9 checks passed
@popcnt1 popcnt1 deleted the fix/da/best-rollback branch December 28, 2024 16:43
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.

1 participant