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

Update plutus-example dependencies #2849

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

newhoggy
Copy link
Contributor

Also add plutus-example to Github Actions.

@newhoggy newhoggy force-pushed the update-example-plutus-dependencies branch 3 times, most recently from ebee78e to b8f8677 Compare June 22, 2021 06:56
$$(PlutusTx.compile [|| \ownerPkh' -> Scripts.wrapMonetaryPolicy $ mkPolicy ownerPkh' ||])
policy :: PubKeyHash -> Scripts.MintingPolicy
policy ownerPkh = mkMintingPolicyScript $
$$(PlutusTx.compile [|| \ownerPkh' -> Scripts.wrapMintingPolicy $ mkPolicy ownerPkh' ||])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/Cardano/PlutusExample/MintingScript.hs:52:70: error:
    • Couldn't match type ‘Bool’ with ‘ScriptContext -> Bool’
      Expected type: ScriptContext -> ScriptContext -> Bool
        Actual type: ScriptContext -> Bool
    • Possible cause: ‘mkPolicy’ is applied to too many arguments
      In the first argument of ‘Scripts.wrapMintingPolicy’, namely
        ‘(mkPolicy ownerPkh')’
      In the expression: Scripts.wrapMintingPolicy (mkPolicy ownerPkh')
      In the Template Haskell quotation
        [|| \ ownerPkh'
              -> Scripts.wrapMintingPolicy (mkPolicy ownerPkh') ||]
   |
52 |     $$(PlutusTx.compile [|| \ownerPkh' -> Scripts.wrapMintingPolicy (mkPolicy ownerPkh') ||])
   |                                                                      ^^^^^^^^^^^^^^^^^^

@newhoggy newhoggy force-pushed the update-example-plutus-dependencies branch from b8f8677 to f9e914a Compare June 22, 2021 08:57
@newhoggy newhoggy force-pushed the update-example-plutus-dependencies branch from f9e914a to 68c2ba8 Compare June 22, 2021 09:04
@newhoggy newhoggy force-pushed the update-example-plutus-dependencies branch from 63280f3 to ffbaf10 Compare June 23, 2021 01:28
@newhoggy
Copy link
Contributor Author

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 23, 2021

@iohk-bors iohk-bors bot merged commit b76de42 into master Jun 23, 2021
@iohk-bors iohk-bors bot deleted the update-example-plutus-dependencies branch June 23, 2021 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants