Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ZSA Orchard Action Description encoding details #21

Merged
merged 6 commits into from
Jun 1, 2023

Conversation

vivek-arte
Copy link

This PR adds details of the changes to the Orchard Action encodings and the changes to the transaction format that occur due to the ZSA Protocol. It also improves the formatting of existing tables for Asset Burns.

@netlify
Copy link

netlify bot commented May 31, 2023

Deploy Preview for zcash-zips-qedit ready!

Name Link
🔨 Latest commit 60a8ebe
🔍 Latest deploy log https://app.netlify.com/sites/zcash-zips-qedit/deploys/64780b0647023000084005c2
😎 Deploy Preview https://deploy-preview-21--zcash-zips-qedit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link

@PaulLaux PaulLaux left a comment

Choose a reason for hiding this comment

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

Approved with one pending comment.

zip-0226.rst Outdated
+=======+===============+=============================+===========================================================================================================================+
| 32 | ``AssetBase`` | ``byte[32]`` | For the Orchard-based ZSA protocol, this is the encoding of the Asset Base :math:`\mathsf{AssetBase}^{\mathsf{Orchard}}`. |
+-------+---------------+-----------------------------+---------------------------------------------------------------------------------------------------------------------------+
| 8 | ``valueBurn`` | :math:`\{1 .. 2^{64} - 1\}` | The amount of the Asset Base being burnt. |

Choose a reason for hiding this comment

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

The amount being burnt. will be enough

Copy link
Author

Choose a reason for hiding this comment

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

Done.

|``852 * nActionsOrchard`` |``vActionsOrchard`` |``ZSAOrchardAction[nActionsOrchard]`` |A sequence of ZSA Orchard Action descriptions, encoded per |
| | | |the `ZSA Orchard Action Description Encoding`_. **[UPDATED FOR ZSA]**|
+-----------------------------+--------------------------+-------------------------------------------+---------------------------------------------------------------------+
|``1`` |``flagsOrchard`` |``byte`` | |

Choose a reason for hiding this comment

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

We will need a spec for flagsOrchard and how it is translates to finilized. (a different pr)

@vivek-arte vivek-arte merged commit 56791ad into zsa1 Jun 1, 2023
PaulLaux pushed a commit that referenced this pull request Oct 4, 2023
This adds details of the changes to the Orchard Action encodings and
the changes to the transaction format that occur due to the ZSA
Protocol. It also improves the formatting of existing tables for Asset
Burn.
vivek-arte added a commit that referenced this pull request Feb 12, 2024
This adds details of the changes to the Orchard Action encodings and
the changes to the transaction format that occur due to the ZSA
Protocol. It also improves the formatting of existing tables for Asset
Burn.
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.

2 participants