Skip to content

[Storehouse] 005 Payloadless View Committer#8576

Open
zhangchiqing wants to merge 2 commits into
leo/payloadless-remote-servicefrom
leo/payloadless-view-committer
Open

[Storehouse] 005 Payloadless View Committer#8576
zhangchiqing wants to merge 2 commits into
leo/payloadless-remote-servicefrom
leo/payloadless-view-committer

Conversation

@zhangchiqing

@zhangchiqing zhangchiqing commented Jun 8, 2026

Copy link
Copy Markdown
Member
  • Add Payloadless View Committer. It's different from the original View committer as it creates proof by retrieving the payloadless proof from payloadless trie, and retrieve payload value from storehouse, and then verify the leaf hash and reconstruct the proof.
    See Spec

@coderabbitai

coderabbitai Bot commented Jun 8, 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: b4420691-cfa2-427a-b8a5-99e7165ce17b

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-view-committer

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 and usage tips.

return baseStorageSnapshot.Get(id)
}

proof, err = payloadless.ProveAndReconstruct(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

valueReader is the storehouse. Reconstructing the proof happens in the ProveAndReconstruct functions, it also verifies the payload value retrieved from valueReader matches the leafHash from the payloadless trie.

@zhangchiqing zhangchiqing force-pushed the leo/payloadless-view-committer branch from 433a42e to 5d35e82 Compare June 8, 2026 23:31
@zhangchiqing zhangchiqing marked this pull request as ready for review June 8, 2026 23:34
@zhangchiqing zhangchiqing requested a review from a team as a code owner June 8, 2026 23:34
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