Skip to content

[Storehouse] 004 - Payloadless Remote ledger service#8575

Open
zhangchiqing wants to merge 1 commit into
leo/payloadless-ledgerfrom
leo/payloadless-remote-service
Open

[Storehouse] 004 - Payloadless Remote ledger service#8575
zhangchiqing wants to merge 1 commit into
leo/payloadless-ledgerfrom
leo/payloadless-remote-service

Conversation

@zhangchiqing

@zhangchiqing zhangchiqing commented Jun 8, 2026

Copy link
Copy Markdown
Member
  • Add Payloadless mode to remote ledger service
  • Allow client to discover whether the remote ledger service is running in full mode or payloadless mode
  • discovery and ledger service is running under the same port, like grpc.

See spec

@zhangchiqing zhangchiqing changed the title [Storehouse] Spec 004 - Remote ledger service [Storehouse] Spec 004 - Payloadless Remote ledger service Jun 8, 2026
@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: ec44e706-d99d-45d3-a989-983476dddda9

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-remote-service

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 nil, fmt.Errorf("failed to generate proof: %w", err)
}

bp, err := ledger.DecodePayloadlessTrieBatchProof(resp.Proof)

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.

Decoding is done at the client side for now, in the future it can be optimized so that the caller can decode partially.

@zhangchiqing zhangchiqing marked this pull request as ready for review June 8, 2026 21:02
@zhangchiqing zhangchiqing requested a review from a team as a code owner June 8, 2026 21:02
@zhangchiqing zhangchiqing changed the title [Storehouse] Spec 004 - Payloadless Remote ledger service [Storehouse] 004 - Payloadless Remote ledger service Jun 8, 2026
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