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

Implement Convertible instances for ledger types #261

Closed
10 tasks done
WhatisRT opened this issue Oct 24, 2023 · 1 comment
Closed
10 tasks done

Implement Convertible instances for ledger types #261

WhatisRT opened this issue Oct 24, 2023 · 1 comment

Comments

@WhatisRT
Copy link
Collaborator

WhatisRT commented Oct 24, 2023

We need to translate all ledger types to Haskell. The types for which we'll need Convertible instances are all those that appear in Computational instances. The root types of these are ChainState and Block, but there are also some others whose values are only temporarily constructed. In the end, we want to be able to write functions such as utxo-step (including the COMPILE pragma) for every Computational instance.

At the moment, it's fine to keep our own versions of the Haskell Ledger types and ask the Ledger team to translate to them once they want to use our code.

Here's a list of what needs to be covered:

  • GOV
  • LEDGER
  • RATIFY and RATIFY'
  • ENACT
  • CERTS, CERT, CERTBASE
  • POOL
  • GOVCERT
  • DELEG
  • NEWEPOCH
  • CHAIN
@WhatisRT WhatisRT added this to the Nov - Feb milestone Oct 25, 2023
@WhatisRT WhatisRT modified the milestones: Nov - Feb, Feb - Apr Feb 5, 2024
@WhatisRT WhatisRT modified the milestones: Feb - Apr, May - Jul May 3, 2024
@WhatisRT
Copy link
Collaborator Author

This has been done manually by #426.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants