Skip to content

Ivk to bytes visibility#46

Closed
PaulLaux wants to merge 3 commits intozsa1from
ivk-to-bytes-visibility
Closed

Ivk to bytes visibility#46
PaulLaux wants to merge 3 commits intozsa1from
ivk-to-bytes-visibility

Conversation

@PaulLaux
Copy link
Collaborator

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Feb 27, 2023

  • The Signed struct was made cloneable.
  • A new method, from_parts, was added to the IssueBundle<T: IssueAuth> trait that allows for constructing an instance of this type from its constituent parts (i.e., ik, actions and authorization).
  • A new method, to_bytes, was added to the IssuanceValidatingKey class which returns a byte array representation of itself by converting it into I2LEOSP format using its x-coordinate as input data (since y = 0 in our case). This is done because we need a way to convert an issuance validating key into bytes so that we can use it as part of the hash function used when creating commitments during note creation/issuance transactions on RedPallas blockchain network(s) - see https://github.com/redpallas1/zkvm-rs#commitment-generation for more details about how these are generated and why they're needed at all!

@PaulLaux
Copy link
Collaborator Author

PaulLaux commented Mar 2, 2023

Merged as part of #44

@PaulLaux PaulLaux closed this Mar 2, 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