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

Complete the Plutus .lbf schemas (with TxInfo and ScriptContext) #175

Open
4 tasks
bladyjoker opened this issue Jan 11, 2024 · 0 comments · May be fixed by #200
Open
4 tasks

Complete the Plutus .lbf schemas (with TxInfo and ScriptContext) #175

bladyjoker opened this issue Jan 11, 2024 · 0 comments · May be fixed by #200

Comments

@bladyjoker
Copy link
Collaborator

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:

  1. https://github.com/mlabs-haskell/lambda-buffers/blob/main/libs/lbf-plutus/Plutus/V1/Todo.lbf
  2. 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:

  1. add v1/v2 TransactionInfo and related types plutus-ledger-api-rust#11
  2. Add TxInfo and ScriptContext for completeness (both V1 and V2) plutus-ledger-api-typescript#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
@bladyjoker bladyjoker linked a pull request May 29, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant