Skip to content

Commit 3ed0664

Browse files
author
Aleksandr Penskoi
committed
Update nft-marketplace-server, CTL, ODC version (correct work with mirror/reflection field for WS), seabug-contract and plutus-usecases
1 parent 660e936 commit 3ed0664

File tree

8 files changed

+19
-31
lines changed

8 files changed

+19
-31
lines changed

arion-compose.nix

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ let
44
(pkgs.callPackage (import nft-marketplace-server/release.nix)
55
{ }).nft-marketplace-server;
66
ogmios-datum-cache = (import ogmios-datum-cache/default.nix).packages.x86_64-linux.ogmios-datum-cache;
7+
# FIXME: CTL version also pinned in seabug-contract. We need only one source of truth
78
cardano-transaction-lib-server = (import
8-
cardano-transaction-lib/default.nix).packages.x86_64-linux."cardano-browser-tx-server:exe:cardano-browser-tx-server";
9+
cardano-transaction-lib/default.nix).packages.x86_64-linux."ctl-server:exe:ctl-server";
910
in {
1011
# NOTE: still can't remember it...
1112
# ports = [ "host:container" ]
@@ -43,7 +44,7 @@ in {
4344
};
4445
cardano-transaction-lib-server.service = {
4546
command =
46-
[ "${cardano-transaction-lib-server}/bin/cardano-browser-tx-server" ];
47+
[ "${cardano-transaction-lib-server}/bin/ctl-server" ];
4748
ports = [ "8081:8081" ];
4849
useHostStore = true;
4950
};
@@ -65,17 +66,20 @@ in {
6566
];
6667
};
6768
ogmios-datum-cache.service = {
68-
command = [ "${ogmios-datum-cache}/bin/ogmios-datum-cache" ];
69+
command = [ "${ogmios-datum-cache}/bin/ogmios-datum-cache"
70+
"--db-connection" "host=postgresql-db port=5432 user=seabug dbname=seabug password=seabug"
71+
"--server-port" "9999"
72+
"--server-api" "usr:pwd"
73+
"--ogmios-address" "ogmios" "--ogmios-port" "1337"
74+
"--origin" "--use-latest"
75+
"--block-filter" "{\"address\": \"addr_test1wr05mmuhd3nvyjan9u4a7c76gj756am40qg7vuz90vnkjzczfulda\"}"
76+
];
6977
depends_on = {
7078
ogmios.condition = "service_healthy";
7179
postgresql-db.condition = "service_healthy";
7280
};
7381
ports = [ "9999:9999" ];
7482
useHostStore = true;
75-
volumes = [
76-
"${toString ./.}/config/datum-cache-config.toml:/config/config.toml"
77-
];
78-
working_dir = "/config";
7983
restart = "always";
8084
};
8185
cardano-node.service = {

cardano-transaction-lib

config/datum-cache-config.toml

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

ogmios-datum-cache

Submodule ogmios-datum-cache updated 54 files

plutus-use-cases

scripts/mint-nft.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,14 @@ echo '>' BALANCE_TX_RESP: $BALANCE_TX_RESP
212212
MINTING_POLICY=$(cat efficient_nft_pab_out | rg minting-policy | sed -e 's/minting-policy: //' | jq -r .getMintingPolicy)
213213
echo '>' MINTING_POLICY: $MINTING_POLICY
214214

215-
echo '>' patch seabug_contracts/Seabug/MintingPolicy.js
216-
sed -i "3s/\".*\"/\"$MINTING_POLICY\"/" cardano-transaction-lib/seabug_contracts/Seabug/MintingPolicy.js
217-
218215
query_utxo
219216

220217
echo '>' sleep 30 for minting work
221218
sleep 30
222219

223220
query_utxo
224221

222+
echo '>' patch seabug_contracts/Seabug/MintingPolicy.js
223+
sed -i "s/\".*\"/\"$MINTING_POLICY\"/" seabug-contracts/src/Seabug/MintingPolicy.js
224+
225225
echo mint-nft ended

0 commit comments

Comments
 (0)