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

Add the ability to talk about Plutus versions #416

Open
WhatisRT opened this issue May 6, 2024 · 0 comments
Open

Add the ability to talk about Plutus versions #416

WhatisRT opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@WhatisRT
Copy link
Collaborator

WhatisRT commented May 6, 2024

We do have a Language type, but it's abstract and don't have access to inhabitants like PlutusV1. There are at least two options to resolve this:

  • Change Language to be a regular sum type
  • Add new fields to PlutusStructure, such as PlutusV1 : Language

The second option has the benefit of being more flexible. Language could contain things that we don't need to talk about or once we have different versions of the spec we wouldn't need to translate between different types here. If there are no downsides, that option is preferred.

@WhatisRT WhatisRT added the enhancement New feature or request label May 6, 2024
@WhatisRT WhatisRT added this to the May - Jul milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant