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

Minting script witness refactor #971

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Nov 18, 2024

  1. Add Cardano.CLI.Plutus.Minting module

    Define the data definition CliMintScriptRequirements
    This type makes it clearer that we require the policy id for transaction
    construction when using a minting script
    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    d6dbaf5 View commit details
    Browse the repository at this point in the history
  2. Refine plutusP to return AnyPlutusScriptVersion instead of

    AnyScriptLanguage
    Replace ScriptWitnessFiles WitCtxMint with CliMintScriptRequirements
    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    5433168 View commit details
    Browse the repository at this point in the history
  3. Modify PlutusReferenceScriptWitnessFiles to accept

    AnyPlutusScriptVersion instead of AnyScriptLanguage
    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    14b1122 View commit details
    Browse the repository at this point in the history
  4. Implement readFileSimpleScript and readFilePlutusScript

    Refactor readScriptWitness and eliminate invalid states
    
    Factor out fromSomeTypeSimpleScript and fromSomeTypePlutusScripts
    
    fromSomeTypePlutusScripts should automatically be updated as soon as the
    Enum AnyPlutusScriptVersion instance is updated in cardano-api
    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    237217a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6414b31 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    44a12f0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f2b3a39 View commit details
    Browse the repository at this point in the history
  8. Add TxCmdCliScriptWitnessError to TxCmdError

    Add ScriptDecodeUnknownPlutusScriptVersion to ScriptDecodeError
    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    47df20b View commit details
    Browse the repository at this point in the history
  9. Remove me cabal project mod

    Jimbo4350 committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    708410b View commit details
    Browse the repository at this point in the history