Skip to content

Commit d0617f1

Browse files
Bump sc-tools
1 parent 3164887 commit d0617f1

File tree

59 files changed

+170
-439
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+170
-439
lines changed

cabal.project

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,8 @@ repository cardano-haskell-packages
1515
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee
1616

1717
index-state:
18-
, hackage.haskell.org 2025-04-15T08:13:08Z
19-
, cardano-haskell-packages 2025-04-11T16:42:25Z
20-
21-
constraints:
22-
plutus-core == 1.40.0.0,
23-
plutus-ledger-api == 1.40.0.0
24-
25-
allow-newer:
26-
*:plutus-core,
27-
*:plutus-ledger-api,
28-
29-
allow-older:
30-
-- NOTE: Currently, plutarch depends on plutus-core version 1.40, while the rest of the (cardano) world is at 1.37.
31-
-- TODO: Delete when plutarch is moving to 1.37
32-
plutarch:plutus-core
18+
, hackage.haskell.org 2025-08-14T14:31:31Z
19+
, cardano-haskell-packages 2025-08-14T14:31:31Z
3320

3421
with-compiler: ghc-9.6.6
3522

@@ -40,11 +27,29 @@ packages:
4027
src/examples/regulated-stablecoin
4128
src/examples/aiken/haskell
4229

30+
constraints:
31+
cardano-api == 10.17.2.0
32+
, plutus-core == 1.51.0.0
33+
, plutus-ledger-api == 1.51.0.0
34+
, quickcheck-dynamic == 3.4.2
35+
36+
allow-older:
37+
*:cardano-api
38+
, *:plutus-core
39+
, *:plutus-ledger-api
40+
, *:QuickCheck
41+
42+
allow-newer:
43+
*:cardano-api
44+
, *:plutus-core
45+
, *:plutus-ledger-api
46+
, *:QuickCheck
47+
4348
source-repository-package
4449
type: git
4550
location: https://github.com/j-mueller/sc-tools
46-
tag: 100452e6b64200cdffcb2582be07c47e1efebb6b
47-
--sha256: sha256-65swdL2zk1mbqdjten6SIX/2v8tADOX4AhzyE0ocpwY=
51+
tag: 1240643dbb8af5df075f4b1894a672744e733a7f
52+
--sha256: sha256-Jqj4DHEsXBrTSZSWqFiGKCNXwavOd2kAAFb8cPNZdgs=
4853
subdir:
4954
src/devnet
5055
src/coin-selection
@@ -58,9 +63,9 @@ source-repository-package
5863

5964
source-repository-package
6065
type: git
61-
location: https://github.com/Plutonomicon/plutarch-plutus
62-
tag: f84a46287b06f36abf8d2d63bec7ff75d32f3e91
63-
--sha256: sha256-gKBk9D6DHSEudq7P9+07yXWcgM/QX7NFp0tJXBodopM=
66+
location: https://github.com/choener/plutarch-plutus
67+
tag: 99315dada86e042bbc1dee5c5ccae158119031eb
68+
--sha256: sha256-kgjYtDcqqEsF61QqK5eoxwL4Gbj9A0tAAqw6xH01NB0=
6469
subdir:
6570
.
6671
plutarch-ledger-api
@@ -70,8 +75,8 @@ source-repository-package
7075
source-repository-package
7176
type: git
7277
location: https://github.com/input-output-hk/catalyst-onchain-libs
73-
tag: 2d8389099584e2d9735e9374895386c72d90517a
74-
--sha256: sha256-sdeDXUiL1MbEtJYbN4URwpQ8CbUKjxxGXUxjj1qqi3E=
78+
tag: 6c7156c441c18b2c76066eae1cce1578190c9cfd
79+
--sha256: sha256-bGf20nAEeMJ3iajMqRBN88BQSMVTXecXl6CztHiZUtA=
7580
subdir:
7681
src/plutarch-onchain-lib
7782

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
inherit inputs;
5050
repoRoot = ./.;
5151
outputs = import ./nix/outputs.nix;
52-
systems = [ "x86_64-linux" ]; # "x86_64-darwin" ];
52+
systems = [ "x86_64-linux" ]; # "aarch64-darwin" ];
5353
};
5454

5555
nixConfig = {

src/examples/aiken/haskell/aiken-example.cabal

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ common lang
5555
library
5656
import: lang
5757
exposed-modules:
58-
Wst.Aiken.Blueprint
59-
Wst.Aiken.BlueprintKey
6058
Wst.Aiken.Error
6159
Wst.Aiken.Offchain
6260
Wst.Cli
@@ -69,21 +67,17 @@ library
6967
, base
7068
, base16-bytestring
7169
, Blammo
72-
, blockfrost-api
7370
, blockfrost-client-core
7471
, bytestring
7572
, cardano-api
76-
, containers
7773
, convex-base
7874
, convex-blockfrost
7975
, convex-coin-selection
8076
, convex-optics
8177
, convex-wallet
82-
, hset
8378
, lens
8479
, mtl
8580
, optparse-applicative
86-
, plutus-core
8781
, plutus-ledger-api
8882
, programmable-tokens-offchain
8983
, programmable-tokens-onchain
@@ -99,7 +93,6 @@ test-suite aiken-example-test
9993
, aiken-example
10094
, base >=4.14.0
10195
, cardano-api
102-
, containers
10396
, convex-base
10497
, convex-coin-selection
10598
, convex-wallet

src/examples/aiken/haskell/lib/Wst/Aiken/Blueprint.hs

Lines changed: 0 additions & 165 deletions
This file was deleted.

src/examples/aiken/haskell/lib/Wst/Aiken/BlueprintKey.hs

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/examples/aiken/haskell/lib/Wst/Aiken/Error.hs

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,13 @@ module Wst.Aiken.Error(
1111
) where
1212

1313
import Blockfrost.Client.Core (BlockfrostError)
14-
import Cardano.Api (AnyPlutusScriptVersion, AnyScriptLanguage)
1514
import Control.Lens (makeClassyPrisms)
15+
import Convex.Aiken.Error (AsBlueprintError (..), AsLookupScriptFailure (..),
16+
BlueprintError (..), LookupScriptFailure (..))
1617
import Convex.CoinSelection (AsBalancingError (..), AsCoinSelectionError (..),
1718
BalancingError, CoinSelectionError)
1819
import ProgrammableTokens.OffChain.Error (AsProgrammableTokensError (..),
1920
ProgrammableTokensError)
20-
import Wst.Aiken.BlueprintKey (BlueprintKey)
21-
22-
data BlueprintError =
23-
24-
-- | Failed to convert 'ScriptInAnyLang' to the target script version
25-
UnexpectedPlutusVersionError
26-
{ expectedVersion :: AnyPlutusScriptVersion
27-
, actualVersion :: AnyScriptLanguage
28-
}
29-
30-
| BlueprintJsonError String
31-
deriving stock (Show)
32-
33-
makeClassyPrisms ''BlueprintError
34-
35-
data LookupScriptFailure =
36-
FailedToFindTransferScript BlueprintKey
37-
| FailedToFindIssuanceScript BlueprintKey
38-
deriving stock (Eq, Show)
39-
40-
makeClassyPrisms ''LookupScriptFailure
4121

4222
data AikenError era =
4323
ABlueprintError BlueprintError

0 commit comments

Comments
 (0)