Skip to content

Commit 6c93196

Browse files
committed
Merge branch 'master' into misha/ex-units-for-plutip
2 parents 870822c + ea23586 commit 6c93196

File tree

20 files changed

+485
-292
lines changed

20 files changed

+485
-292
lines changed

bot-plutus-interface.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ library
8888
BotPlutusInterface.Server
8989
BotPlutusInterface.Types
9090
BotPlutusInterface.UtxoParser
91-
91+
BotPlutusInterface.Server
92+
BotPlutusInterface.Helpers
9293
build-depends:
9394
, aeson ^>=1.5.0.0
9495
, QuickCheck

cabal.project

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

3-
packages: ./.
3+
packages: ./bot-plutus-interface.cabal
44
./examples/plutus-game/plutus-game.cabal
55
./examples/plutus-transfer/plutus-transfer.cabal
66
./examples/plutus-nft/plutus-nft.cabal

examples/plutus-game/app/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,14 @@ main = do
6161
, pcTipPollingInterval = 10_000_000
6262
, pcSlotConfig = def
6363
, pcOwnPubKeyHash = "0f45aaf1b2959db6e5ff94dbb1f823bf257680c3c723ac2d49f97546"
64+
, pcOwnStakePubKeyHash = Nothing
6465
, pcScriptFileDir = "./scripts"
6566
, pcSigningKeyFileDir = "./signing-keys"
6667
, pcTxFileDir = "./txs"
6768
, pcDryRun = True
6869
, pcLogLevel = Debug
6970
, pcProtocolParamsFile = "./protocol.json"
70-
, pcForceBudget = Just (1000, 1000)
71+
, pcForceBudget = Just (9_000_000_000, 15_000_000)
7172
, pcEnableTxEndpoint = True
7273
}
7374
BotPlutusInterface.runPAB @GameContracts pabConf

examples/plutus-game/guess.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CONTRACT_INST_ID=$(curl --location --request POST 'localhost:9080/api/contract/a
66
"caID": {
77
"tag": "Guess",
88
"contents": {
9-
"guessGameId": 2,
9+
"guessGameId": 3,
1010
"guessSecret": "secret"
1111
}
1212
}

examples/plutus-game/lock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CONTRACT_INST_ID=$(curl --location --request POST 'localhost:9080/api/contract/a
66
"caID": {
77
"tag": "Lock",
88
"contents": {
9-
"lockGameId": 2,
9+
"lockGameId": 3,
1010
"lockAmount": 1000000,
1111
"lockSecret": "secret"
1212
}

examples/plutus-game/plutus-game.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ library
8181
, cardano-crypto
8282
, cardano-ledger-alonzo
8383
, containers
84+
, bot-plutus-interface
8485
, data-default
8586
, data-default-class
8687
, directory

examples/plutus-game/protocol.json

Lines changed: 169 additions & 169 deletions
Large diffs are not rendered by default.

examples/plutus-nft/app/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ main = do
6161
, pcTipPollingInterval = 10_000_000
6262
, pcSlotConfig = def
6363
, pcOwnPubKeyHash = "0f45aaf1b2959db6e5ff94dbb1f823bf257680c3c723ac2d49f97546"
64+
, pcOwnStakePubKeyHash = Nothing
6465
, pcScriptFileDir = "./scripts"
6566
, pcSigningKeyFileDir = "./signing-keys"
6667
, pcTxFileDir = "./txs"

examples/plutus-transfer/app/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ main = do
6060
, pcTipPollingInterval = 10_000_000
6161
, pcSlotConfig = def
6262
, pcOwnPubKeyHash = "0f45aaf1b2959db6e5ff94dbb1f823bf257680c3c723ac2d49f97546"
63+
, pcOwnStakePubKeyHash = Nothing
6364
, pcScriptFileDir = "./scripts"
6465
, pcSigningKeyFileDir = "./signing-keys"
6566
, pcTxFileDir = "./txs"

flake.nix

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,15 @@
328328
withHoogle = true;
329329
tools.haskell-language-server = {};
330330
exactDeps = true;
331-
nativeBuildInputs = [ pkgs'.cabal-install pkgs'.hlint pkgs'.haskellPackages.fourmolu pkgs'.jq pkgs'.websocat ];
331+
nativeBuildInputs = [
332+
pkgs'.cabal-install
333+
pkgs'.haskellPackages.cabal-fmt
334+
pkgs'.haskellPackages.implicit-hie
335+
pkgs'.hlint
336+
pkgs'.haskellPackages.fourmolu
337+
pkgs'.jq
338+
pkgs'.websocat
339+
];
332340
};
333341
modules = haskellModules;
334342
};

0 commit comments

Comments
 (0)