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

[ZSA] Ensure that ZIP 209-style issuance tracking is applied to ZSA assets #844

Open
daira opened this issue May 14, 2024 · 0 comments · Fixed by QED-it/zips#59
Open

[ZSA] Ensure that ZIP 209-style issuance tracking is applied to ZSA assets #844

daira opened this issue May 14, 2024 · 0 comments · Fixed by QED-it/zips#59
Labels
consensus Consensus changes, and errors or omissions in consensus specification ZIP clarification ZSAs
Milestone

Comments

@daira
Copy link
Collaborator

daira commented May 14, 2024

Note that this interacts with #843 : if we do pool value balance tracking for all assets, then this has to be included in the state.

In the case of ZSAs, it is only currently possible for an asset pool value balance underflow to occur as a results of burns. In future there may be multiple shielded protocols, and so there may be a need to transfer value in ZSA assets from one shielded protocol to another, via a turnstile that reveals the transferred balance. Alternatively, other mechanisms to allow non-ZEC value to exit a shielded pool may be added, for example to support bridging.

@daira daira added consensus Consensus changes, and errors or omissions in consensus specification ZIP clarification ZSAs labels May 14, 2024
vivek-arte added a commit to QED-it/zips that referenced this issue Aug 15, 2024
…s map (#59)

This adds a map called `issued_assets` to the global state. This is
used to track ZSA balances in the shielded pool along the lines of ZIP
209.

This should resolve zcash#844.
@daira daira added this to the NU7 milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus Consensus changes, and errors or omissions in consensus specification ZIP clarification ZSAs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant