Skip to content

Changes to issuance_txid_digest to align with ZIP 244#7

Merged
vivek-arte merged 3 commits into
zsa-zipsfrom
digest_changes
Mar 14, 2023
Merged

Changes to issuance_txid_digest to align with ZIP 244#7
vivek-arte merged 3 commits into
zsa-zipsfrom
digest_changes

Conversation

@vivek-arte

Copy link
Copy Markdown

No description provided.

@netlify

netlify Bot commented Mar 7, 2023

Copy link
Copy Markdown

Deploy Preview for zcash-zips-qedit ready!

Name Link
🔨 Latest commit dd3eaaf
🔍 Latest deploy log https://app.netlify.com/sites/zcash-zips-qedit/deploys/640f7bd43555a40008ffa738
😎 Deploy Preview https://deploy-preview-7--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.

@PaulLaux PaulLaux left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Overall good, added minor comments.

Comment thread zip-0227.rst Outdated
Comment on lines 300 to 301
├── issue_actions_digest
└── issuerVerificationKey

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

They both should have the same case: issue_actions or issueActions not both.

@vivek-arte vivek-arte Mar 13, 2023

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The naming convention in ZIP 244 is at the bottom of this section -- camelCase if it is not a hash of something else, snake_case if it is a BLAKE2b hash.

I see an inconsistency in the use of both issuerVerificationKey and issuanceValidatingKey which I am now fixing.

Comment thread zip-0227.rst
Comment on lines +309 to +310
T.1: issue_actions_digest (32-byte hash output)
T.2: issuanceValidatingKey (32 bytes)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Same for naming convention.

@vivek-arte vivek-arte merged commit 7475f6c into zsa-zips Mar 14, 2023
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