Skip to content

[Storehouse] 010 Util convert v6 -> v7 checkpoint#8583

Open
zhangchiqing wants to merge 4 commits into
leo/payloadless-remote-ledger-servicefrom
leo/payloadless-util-convert-checkpoint
Open

[Storehouse] 010 Util convert v6 -> v7 checkpoint#8583
zhangchiqing wants to merge 4 commits into
leo/payloadless-remote-ledger-servicefrom
leo/payloadless-util-convert-checkpoint

Conversation

@zhangchiqing

@zhangchiqing zhangchiqing commented Jun 18, 2026

Copy link
Copy Markdown
Member

To bootstrap a payloadless EN, a v7 root checkpoint file is needed. This PR adds a util to convert a v6 root checkpoint into a v7 root checkpoint.

It adds two ways to convert:

  1. original way (less code, but use more memory), it loads the entire v6 checkpoint into memory, and then convert it into v7
  2. steam way (more new code, but much less memory), it iterate each node in the v6 checkpoint file, if it's a leaf node, convert it into v7 format.

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 28dd035b-3a71-44d9-9782-b3e08909e789

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch leo/payloadless-util-convert-checkpoint

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zhangchiqing zhangchiqing marked this pull request as ready for review June 18, 2026 03:04
@zhangchiqing zhangchiqing requested a review from a team as a code owner June 18, 2026 03:04
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-remote-ledger-service branch from 08074ba to 4f1f09d Compare June 18, 2026 23:19
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-util-convert-checkpoint branch 3 times, most recently from ce39b24 to 287bfbb Compare June 18, 2026 23:34
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-remote-ledger-service branch from 0955ccb to 8177757 Compare June 19, 2026 00:00
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-util-convert-checkpoint branch from 287bfbb to a9c6645 Compare June 19, 2026 00:01
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-remote-ledger-service branch from 8177757 to efd0192 Compare July 2, 2026 18:43
@zhangchiqing zhangchiqing force-pushed the leo/payloadless-util-convert-checkpoint branch from a9c6645 to ca39b1a Compare July 2, 2026 19:11
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