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

fix(openda): improve chunk submission tracking and handle optional latest_done_chunk_id compatibility #3232

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

popcnt1
Copy link
Collaborator

@popcnt1 popcnt1 commented Jan 25, 2025

Summary

Revamped AdapterSubmitStat to track submitted segments using a vector instead of the sum, ensuring accurate submission tracking. Adjusted get_latest_done_chunk_id to return Option<u128> and implemented a fallback for compatibility with older versions. Updated tests accordingly.

…test_done_chunk_id compatibility

Revamped `AdapterSubmitStat` to track submitted segments using a vector instead of the sum, ensuring accurate submission tracking. Adjusted `get_latest_done_chunk_id` to return `Option<u128>` and implemented a fallback for compatibility with older versions. Updated tests accordingly.
@popcnt1 popcnt1 requested a review from jolestar as a code owner January 25, 2025 14:31
Copy link

vercel bot commented Jan 25, 2025

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

Name Status Preview Comments Updated (UTC)
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2025 2:36pm
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 25, 2025 2:36pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Jan 25, 2025 2:36pm

@popcnt1 popcnt1 merged commit 3306c1b into rooch-network:main Jan 25, 2025
6 of 9 checks passed
@popcnt1 popcnt1 deleted the fix/da/submit/stats branch January 25, 2025 14:32
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