Skip to content

Commit 67db4a6

Browse files
authored
Merge pull request #103 from mlabs-haskell/gergely/vasil
Vasil update
2 parents 761a0d6 + 7a47f37 commit 67db4a6

Some content is hidden

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

47 files changed

+3067
-2049
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ instance HasDefinitions MyContracts where
6565
3. Write your main entrypoint for the application and the configuration file
6666

6767
```haskell
68-
import BotPlutusInterface qualified
69-
import BotPlutusInterface.Config qualified as BotPlutusInterface
7068
import Prelude
7169

7270
main :: IO ()
@@ -79,7 +77,7 @@ main = do
7977

8078
Configuration format (example: <examples/plutus-game/pabConfig.value>):
8179

82-
``` console
80+
```console
8381
$ cabal repl --disable-optimisation --repl-options -Wwarn
8482
...
8583
BotPlutusInterface> :m Prelude

bot-plutus-interface.cabal

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ common common-lang
2727
-Wall -Wcompat -Wincomplete-record-updates
2828
-Wincomplete-uni-patterns -Wredundant-constraints -fobject-code
2929
-fno-ignore-interface-pragmas -fno-omit-interface-pragmas
30-
-fplugin=RecordDotPreprocessor
31-
32-
-- -Werror
30+
-fplugin=RecordDotPreprocessor -Werror
3331

3432
build-depends:
35-
, base ^>=4.14
33+
, base
3634
, record-dot-preprocessor
3735
, record-hasfield
3836

@@ -80,7 +78,10 @@ library
8078
BotPlutusInterface
8179
BotPlutusInterface.Balance
8280
BotPlutusInterface.BodyBuilder
81+
BotPlutusInterface.CardanoAPI
8382
BotPlutusInterface.CardanoCLI
83+
BotPlutusInterface.CardanoNode.Effects
84+
BotPlutusInterface.CardanoNode.Query
8485
BotPlutusInterface.ChainIndex
8586
BotPlutusInterface.CoinSelection
8687
BotPlutusInterface.Collateral
@@ -90,7 +91,6 @@ library
9091
BotPlutusInterface.ExBudget
9192
BotPlutusInterface.Files
9293
BotPlutusInterface.Helpers
93-
BotPlutusInterface.QueryNode
9494
BotPlutusInterface.Server
9595
BotPlutusInterface.TimeSlot
9696
BotPlutusInterface.Types
@@ -103,13 +103,15 @@ library
103103
PlutusConfig.Types
104104

105105
build-depends:
106-
, aeson ^>=1.5.0.0
106+
, aeson
107107
, attoparsec >=0.13.2.2
108108
, bytestring ^>=0.10.12.0
109109
, cardano-api
110110
, cardano-crypto
111111
, cardano-ledger-alonzo
112+
, cardano-ledger-babbage
112113
, cardano-ledger-core
114+
, cardano-ledger-shelley
113115
, cardano-prelude
114116
, cardano-slotting
115117
, config-schema
@@ -138,6 +140,7 @@ library
138140
, plutus-ledger-api
139141
, plutus-ledger-constraints
140142
, plutus-pab
143+
, plutus-script-utils
141144
, plutus-tx
142145
, plutus-tx-plugin
143146
, pretty
@@ -176,6 +179,7 @@ test-suite bot-plutus-interface-test
176179
main-is: Spec.hs
177180
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors
178181
other-modules:
182+
Spec.BotPlutusInterface.AdjustUnbalanced
179183
Spec.BotPlutusInterface.Balance
180184
Spec.BotPlutusInterface.CoinSelection
181185
Spec.BotPlutusInterface.Collateral
@@ -184,12 +188,11 @@ test-suite bot-plutus-interface-test
184188
Spec.BotPlutusInterface.ContractStats
185189
Spec.BotPlutusInterface.Server
186190
Spec.BotPlutusInterface.TxStatusChange
187-
Spec.BotPlutusInterface.UtxoParser
188191
Spec.MockContract
189192
Spec.RandomLedger
190193

191194
build-depends:
192-
, aeson ^>=1.5.0.0
195+
, aeson
193196
, attoparsec
194197
, base
195198
, base-compat
@@ -220,6 +223,7 @@ test-suite bot-plutus-interface-test
220223
, plutus-ledger-api
221224
, plutus-ledger-constraints
222225
, plutus-pab
226+
, plutus-script-utils
223227
, plutus-tx
224228
, plutus-tx-plugin
225229
, pretty-diff

cabal.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
index-state: 2022-01-22T00:00:00Z
1+
index-state: 2022-05-18T00:00:00Z
22

33
packages: ./bot-plutus-interface.cabal
44
./examples/plutus-game/plutus-game.cabal

examples/plutus-game/cabal.project

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Bump this if you need newer packages
2-
index-state: 2021-10-20T00:00:00Z
2+
index-state: 2022-05-18T00:00:00Z
33

44
packages:
55
./.
@@ -11,4 +11,3 @@ write-ghc-environment-files: never
1111
-- Always build tests and benchmarks.
1212
tests: true
1313
benchmarks: true
14-

examples/plutus-game/pabConfig.value

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- Calling the cli locally or through an ssh connection
22
cliLocation: local
33
chainIndexUrl: "http://localhost:9083"
4-
networkId: 1097911063
4+
networkId: 9
55

66
-- Directory name of the script and data files
77
scriptFileDir: "./scripts"

examples/plutus-game/plutus-game.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ library
7474
import: common-lang
7575
exposed-modules: Cardano.PlutusExample.Game
7676
build-depends:
77-
, aeson ^>=1.5.0.0
77+
, aeson
7878
, attoparsec >=0.13.2.2
7979
, bot-plutus-interface
8080
, bytestring ^>=0.10.12.0
@@ -126,7 +126,7 @@ library
126126
executable plutus-game-pab
127127
import: common-lang
128128
build-depends:
129-
, aeson ^>=1.5.0.0
129+
, aeson
130130
, bot-plutus-interface
131131
, bytestring
132132
, cardano-api

0 commit comments

Comments
 (0)