lambda-buffers
lambda-buffers copied to clipboard
Complete the Plutus .lbf schemas (with TxInfo and ScriptContext)
At the time of writing https://github.com/mlabs-haskell/lambda-buffers/blob/main/libs/lbf-plutus/ several PLA types were not available in CTL which is why I placed those types in:
- https://github.com/mlabs-haskell/lambda-buffers/blob/main/libs/lbf-plutus/Plutus/V1/Todo.lbf
- https://github.com/mlabs-haskell/lambda-buffers/blob/main/libs/lbf-plutus/Plutus/V2/Todo.lbf
This came back to bite us as now we have incomplete PLA libraries:
- https://github.com/mlabs-haskell/plutus-ledger-api-rust/pull/11
- https://github.com/mlabs-haskell/plutus-ledger-api-typescript/issues/12
TODO
- [ ] lbf-plutus: Defined opaques for missing TxOut, TxInInfo, TxInfo and ScriptContext for both V1 and V2
- [ ] lbr-plutus-haskell: Defined Json instances for these opaques
- [ ] lbr-plutus-purescript: Defined these types here or in CTL directly? Json is not implemented because we're waiting on plutus-ledger-api-purescript
- [ ] lbt-plutus: Define new goldens for the new opaques and generate their Json and Json PlutusData files. Implement all tests in haskell/purescript/plutarch/plutustx/typescript/rust