Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commits on Sep 29, 2022

  1. PLT-807 Change behavior of MustPayToPubKeyAddress and MustPayToOtherS…

    …cript w.r.t datum in transaction body
    
    * Changed `MustPayToPubKeyAddress` and `MustPayToOtherScript` so that
      the user needs to explicitly specify if he wants:
        * the datum to only be included as a hash in the transaction
          output
        * the datum to be included as a hash in the transaction output
          as well as in the transaction body
        * the datum to be inlined in the transaction output
    
    * Changed the name of the constraint `MustIncludeDatum` to
      `MustIncludeDatumInTx` and `MustHashDatum` to
      `MustIncludeDatumInTxWithHash`. These constraint don't modify the
      transaction anymore, but simply check that the datum is part of the
      transaction body.
    
    * Added a note on the 'Plutus.Contract.Oracle' module explaining why it
      doesn't work in it's current form.
    
    * Commented out failing test cases in `plutus-use-cases` that use the
      'Plutus.Contract.Oracle' module.
    koslambrou committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    84e46cc View commit details
    Browse the repository at this point in the history