Skip to content

Commit

Permalink
Bump plutus Version to 1.34.1.0 (#24)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

---------

Co-authored-by: kwxm <[email protected]>
Co-authored-by: zeme <[email protected]>
  • Loading branch information
3 people authored Sep 25, 2024
1 parent 48da7dd commit f36c0a7
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 38 deletions.
7 changes: 4 additions & 3 deletions app/GenAuctionValidatorBlueprint.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ myValidator =
, argumentSchema = definitionRef @()
}
, validatorDatum = Nothing
, validatorCompiledCode =
Just . Short.fromShort . serialiseCompiledCode $
auctionValidatorScript auctionParams
, validatorCompiled = do
let script = auctionValidatorScript auctionParams
let code = Short.fromShort (serialiseCompiledCode script)
Just (compiledValidator PlutusV2 code)
}

writeBlueprintToFile :: FilePath -> IO ()
Expand Down
7 changes: 4 additions & 3 deletions app/GenMintingPolicyBlueprint.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ myValidator =
, argumentSchema = definitionRef @()
}
, validatorDatum = Nothing
, validatorCompiledCode =
Just . Short.fromShort . serialiseCompiledCode $
auctionMintingPolicyScript (error "Replace with seller pkh")
, validatorCompiled = do
let script = auctionMintingPolicyScript (error "Replace with seller public key hash")
let code = Short.fromShort (serialiseCompiledCode script)
Just (compiledValidator PlutusV2 code)
}

writeBlueprintToFile :: FilePath -> IO ()
Expand Down
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ repository cardano-haskell-packages

index-state:
-- Bump both the following dates if you need newer packages from Hackage
, hackage.haskell.org 2024-09-10T13:49:28Z
, hackage.haskell.org 2024-09-19T00:00:00Z
-- Bump this if you need newer packages from CHaP
, cardano-haskell-packages 2024-09-10T13:49:28Z
, cardano-haskell-packages 2024-09-19T00:00:00Z

packages:
./.
38 changes: 19 additions & 19 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions plutus-tx-template.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ library scripts

build-depends:
, base
, plutus-core ^>=1.34
, plutus-ledger-api ^>=1.34
, plutus-tx ^>=1.34
, plutus-core ^>=1.34.1.0
, plutus-ledger-api ^>=1.34.1.0
, plutus-tx ^>=1.34.1.0

if !(impl(ghcjs) || os(ghcjs))
build-depends: plutus-tx-plugin
Expand All @@ -33,10 +33,10 @@ executable gen-auction-validator-blueprint
, base
, bytestring
, containers
, plutus-core ^>=1.34.0.0
, plutus-ledger-api ^>=1.34.0.0
, plutus-tx ^>=1.34.0.0
, plutus-tx-plugin ^>=1.34.0.0
, plutus-core ^>=1.34.1.0
, plutus-ledger-api ^>=1.34.1.0
, plutus-tx ^>=1.34.1.0
, plutus-tx-plugin ^>=1.34.1.0
, scripts

executable gen-minting-policy-blueprint
Expand All @@ -47,8 +47,8 @@ executable gen-minting-policy-blueprint
, base
, bytestring
, containers
, plutus-core ^>=1.34.0.0
, plutus-ledger-api ^>=1.34.0.0
, plutus-tx ^>=1.34.0.0
, plutus-tx-plugin ^>=1.34.0.0
, plutus-core ^>=1.34.1.0
, plutus-ledger-api ^>=1.34.1.0
, plutus-tx ^>=1.34.1.0
, plutus-tx-plugin ^>=1.34.1.0
, scripts

0 comments on commit f36c0a7

Please sign in to comment.