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

Create a conversion function from Praos to PraosBatchCompat types #345

Closed
iquerejeta opened this issue Nov 21, 2022 · 0 comments · Fixed by #344
Closed

Create a conversion function from Praos to PraosBatchCompat types #345

iquerejeta opened this issue Nov 21, 2022 · 0 comments · Fixed by #344
Assignees

Comments

@iquerejeta
Copy link
Collaborator

Some of the new BatchCompat VRF types are compatible with the existing Praos types. In this PR we create conversion functions, to allow for a smooth transition between the compatible types.

In particular, we need the following conversion functions:

  • skToBatchCompat :: SignKeyVRF PraosVRF -> SignKeyVRF BC.PraosBatchCompatVRF
  • vkToBatchCompat :: VerKeyVRF PraosVRF -> VerKeyVRF BC.PraosBatchCompatVRF
  • outputToBatchCompat :: OutputVRF PraosVRF -> OutputVRF BC.PraosBatchCompatVRF

We must include tests to guarantee the compatibility of these converted types.

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 a pull request may close this issue.

1 participant