[Storehouse] 004 - Payloadless Remote ledger service#8575
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
| return nil, fmt.Errorf("failed to generate proof: %w", err) | ||
| } | ||
|
|
||
| bp, err := ledger.DecodePayloadlessTrieBatchProof(resp.Proof) |
There was a problem hiding this comment.
Decoding is done at the client side for now, in the future it can be optimized so that the caller can decode partially.
See spec