Skip to content

Conversation

@vivek-arte
Copy link

@vivek-arte vivek-arte commented Feb 8, 2024

This is a reference of the changes made for ZSA Swaps above the changes for the ZSA Protocol. The upstream PR for the same is zcash#780.

The changes are majorly in ZIP 228: Zcash Shielded Asset Swaps, with minor changes in the README.rst file to add the new ZIP to the index.

@netlify
Copy link

netlify bot commented Feb 8, 2024

Deploy Preview for zcash-zips-qedit ready!

Name Link
🔨 Latest commit 65e446b
🔍 Latest deploy log https://app.netlify.com/projects/zcash-zips-qedit/deploys/691f6ea2dda12d0008563079
😎 Deploy Preview https://deploy-preview-50--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 project configuration.

@vivek-arte vivek-arte marked this pull request as draft February 8, 2024 14:21
@vivek-arte vivek-arte changed the base branch from zsa1 to main February 12, 2024 09:10
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.

added comments regarding fees.

@vivek-arte vivek-arte force-pushed the asset_swaps branch 2 times, most recently from 122a4f6 to 2c3898a Compare August 13, 2024 07:03
vivek-arte added a commit that referenced this pull request Sep 17, 2024
This makes updates based on the comments made on #50.
vivek-arte added a commit that referenced this pull request Sep 30, 2024
This makes updates based on the comments made on #50.
@PaulLaux PaulLaux added the Swaps label Nov 13, 2024
vivek-arte and others added 11 commits June 9, 2025 11:42
This makes updates based on the comments made on #50.
In swap bundle figure,
- replace spend and output notes by actions
- fix bundle value balance
- fix global bundle value balance by adding fees
- remove action fields (cv_net, nf, rk, cm_x, epk, ...)  for each action
- remove global transaction fields (header, nVersionGroupId,
nConsensusBranchId, tx_in_account, ...)
Replace split notes by reference notes
Replace timeLimit by expiryHeight
Copy link

@ConstanceBeguier ConstanceBeguier left a comment

Choose a reason for hiding this comment

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

Some comments to update this ZIP with last modifications in other ZIPs

  • Replace timelimit with AGExpiryHeight
  • Add a section to explain that ActionGroup and AGExpiryHeight have already been included in NU7 to avoid a transaction format modification.
  • Should we create a new sighash version for Swap?

)

This PR makes clearer the Fees section of ZIP 228, and also adds a
rationale section for the fees.
It also changes the specification of the computation of the spend
authorization signature.
It also adds Alexey Koren and Constance Beguier to the ZIP Owners.
This PR goes through ZIP 228, and makes changes to reconcile the ZIP
with the updates made in ZIP 226, ZIP 227, ZIP 230 and ZIP 246, for the
NU7 protocol upgrade.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants