formal-ledger-specifications icon indicating copy to clipboard operation
formal-ledger-specifications copied to clipboard

Add the ability to talk about Plutus versions

Open WhatisRT opened this issue 9 months ago • 0 comments

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 avatar May 06 '24 12:05 WhatisRT