prepare_r0_succinct_witness (Func)¶
Convert a borsh-encoded SuccinctReceipt<ReceiptClaim> to its four on-stack
witness byte vectors (hex), without a builder.
| PARAMETER | DESCRIPTION |
|---|---|
receipt
|
A borsh-encoded
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
R0SuccinctWitnessParts
|
The claim, control index, control digests, and seal.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
ZkError
|
If the receipt cannot be decoded or the witness cannot be prepared. |