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: add CARv2 support to CarStream #5232

Merged
merged 16 commits into from
Feb 7, 2025
Merged

feat: add CARv2 support to CarStream #5232

merged 16 commits into from
Feb 7, 2025

Conversation

hanabi1224
Copy link
Contributor

@hanabi1224 hanabi1224 commented Feb 5, 2025

Summary of changes

Changes introduced in this pull request:

  • add CARv2 support to CarStream to fix butterflynet genesis CAR loading error

Note: butterflynet check succeeded on this branch: https://github.com/ChainSafe/forest/actions/runs/13177200167/job/36779198067

Reference issue to close (if applicable)

Closes #5228

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

let reference_car_zst = reference(carv2_car_zst());
for cid in car_backed.cids() {
let expected = reference_car.get(&cid).unwrap().unwrap();
let expected2 = reference_car_zst.get(&cid).unwrap().unwrap();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These reference calls cover CarStream decoding

@hanabi1224 hanabi1224 marked this pull request as ready for review February 5, 2025 14:38
@hanabi1224 hanabi1224 requested a review from a team as a code owner February 5, 2025 14:38
@hanabi1224 hanabi1224 requested review from LesnyRumcajs and elmattic and removed request for a team February 5, 2025 14:38
@hanabi1224 hanabi1224 mentioned this pull request Feb 5, 2025
4 tasks
@LesnyRumcajs LesnyRumcajs requested review from lemmih and removed request for LesnyRumcajs February 6, 2025 09:47
@LesnyRumcajs
Copy link
Member

LesnyRumcajs commented Feb 6, 2025

Designating @lemmih for the review as the CarStream co-author.

@elmattic elmattic added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit ee7b9b5 Feb 7, 2025
42 checks passed
@elmattic elmattic deleted the hm/car-v2-stream branch February 7, 2025 12:33
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.

CAR v2 support
4 participants