Skip to content

Commit a757cd4

Browse files
authored
Merge pull request #59 from input-output-hk/next-2025-02-27
Node 10.2.1, Dbsync 13.6.0.5, Mithril v2513
2 parents 997b333 + 44ce8d7 commit a757cd4

File tree

6 files changed

+42
-28
lines changed

6 files changed

+42
-28
lines changed

flake.lock

Lines changed: 3 additions & 4 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
@@ -25,7 +25,7 @@
2525
services-flake.url = "github:juspay/services-flake";
2626

2727
# Cardano related inputs
28-
capkgs.url = "github:input-output-hk/capkgs/input-addressed";
28+
capkgs.url = "github:input-output-hk/capkgs";
2929
empty-flake.url = "github:input-output-hk/empty-flake";
3030
haskell-nix.url = "github:input-output-hk/haskell.nix";
3131
iohk-nix.url = "github:input-output-hk/iohk-nix";

flake/nixosModules/profile-cardano-node-group.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
[
188188
config.cardano-parts.pkgs.bech32
189189
cardano-cli
190+
cardano-node
190191
config.cardano-parts.pkgs.db-analyser
191192
config.cardano-parts.pkgs.db-synthesizer
192193
config.cardano-parts.pkgs.db-truncater

flake/nixosModules/profile-cardano-node-topology.nix

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,17 @@
104104
};
105105
};
106106

107+
# With the introduction of SRV records, the port field is optional in the
108+
# json struct, and if missing or set to null, the address will be treated
109+
# as a SRV record.
107110
mkBasicProducers = producer: let
108111
extraCfg = removeAttrs producer ["address" "port"];
109112
in
110113
{
111-
accessPoints = [{inherit (producer) address port;}];
114+
accessPoints = [
115+
({inherit (producer) address;}
116+
// optionalAttrs (producer ? port && producer.port != null) {inherit (producer) port;})
117+
];
112118
}
113119
// extraCfg;
114120

@@ -256,6 +262,10 @@
256262
Additional attributes beyond address and port in the attribute set will be appended
257263
as extra config to the accessPoint list.
258264
265+
If the port is not provided or set to null, it will not be
266+
included in the json converted struct and node will consider the
267+
address to be an SRV record.
268+
259269
If further customization is required add the extra producers directly to the
260270
services.cardano-node.producers option.
261271
'';
@@ -279,6 +289,10 @@
279289
Additional attributes beyond address and port in the attribute set will be appended
280290
as extra config to the accessPoints list.
281291
292+
If the port is not provided or set to null, it will not be
293+
included in the json converted struct and node will consider the
294+
address to be an SRV record.
295+
282296
If further customization is required, add the extra public producers directly to the
283297
services.cardano-node.publicProducers option.
284298
'';

flakeModules/pkgs.nix

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -426,56 +426,56 @@ in
426426
pkgsSubmodule = submodule {
427427
options = foldl' recursiveUpdate {} [
428428
# TODO: Fix the missing meta/version info upstream
429-
(mkPkg "bech32" caPkgs."bech32-input-output-hk-cardano-node-10-1-4-1f63dbf")
429+
(mkPkg "bech32" caPkgs."bech32-input-output-hk-cardano-node-10-2-1-52b708f")
430430
(mkPkg "blockperf" caPkgs.blockperf-cardano-foundation-blockperf-main-87f6f67)
431431
(mkPkg "cardano-address" caPkgs.cardano-address-cardano-foundation-cardano-wallet-v2024-11-18-9eb5f59)
432-
(mkPkg "cardano-cli" (caPkgs."cardano-cli-input-output-hk-cardano-node-10-1-4-1f63dbf" // {version = "10.1.1.0";}))
432+
(mkPkg "cardano-cli" (caPkgs."cardano-cli-input-output-hk-cardano-node-10-2-1-52b708f" // {version = "10.4.0.0";}))
433433
(mkPkg "cardano-cli-ng" (caPkgs."cardano-cli-input-output-hk-cardano-node-10-2-1-52b708f" // {version = "10.4.0.0";}))
434-
(mkPkg "cardano-db-sync" (recursiveUpdate caPkgs."\"cardano-db-sync:exe:cardano-db-sync\"-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281" {meta.mainProgram = "cardano-db-sync";}))
435-
(mkPkg "cardano-db-sync-ng" (recursiveUpdate caPkgs."\"cardano-db-sync:exe:cardano-db-sync\"-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281" {meta.mainProgram = "cardano-db-sync";}))
436-
(mkPkg "cardano-db-tool" caPkgs."\"cardano-db-tool:exe:cardano-db-tool\"-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281")
437-
(mkPkg "cardano-db-tool-ng" caPkgs."\"cardano-db-tool:exe:cardano-db-tool\"-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281")
434+
(mkPkg "cardano-db-sync" (recursiveUpdate caPkgs."\"cardano-db-sync:exe:cardano-db-sync\"-input-output-hk-cardano-db-sync-13-6-0-5-cb61094" {meta.mainProgram = "cardano-db-sync";}))
435+
(mkPkg "cardano-db-sync-ng" (recursiveUpdate caPkgs."\"cardano-db-sync:exe:cardano-db-sync\"-input-output-hk-cardano-db-sync-13-6-0-5-cb61094" {meta.mainProgram = "cardano-db-sync";}))
436+
(mkPkg "cardano-db-tool" caPkgs."\"cardano-db-tool:exe:cardano-db-tool\"-input-output-hk-cardano-db-sync-13-6-0-5-cb61094")
437+
(mkPkg "cardano-db-tool-ng" caPkgs."\"cardano-db-tool:exe:cardano-db-tool\"-input-output-hk-cardano-db-sync-13-6-0-5-cb61094")
438438

439439
# For tmp local faucet testing:
440440
# (mkPkg "cardano-faucet" localFlake.inputs.cardano-faucet.packages.x86_64-linux."cardano-faucet:exe:cardano-faucet")
441441
# (mkPkg "cardano-faucet-ng" localFlake.inputs.cardano-faucet.packages.x86_64-linux."cardano-faucet:exe:cardano-faucet")
442442
(mkPkg "cardano-faucet" caPkgs."\"cardano-faucet:exe:cardano-faucet\"-input-output-hk-cardano-faucet-10-1-2cccf6d")
443443
(mkPkg "cardano-faucet-ng" caPkgs."\"cardano-faucet:exe:cardano-faucet\"-input-output-hk-cardano-faucet-10-1-2cccf6d")
444444

445-
(mkPkg "cardano-node" (caPkgs."cardano-node-input-output-hk-cardano-node-10-1-4-1f63dbf" // {version = "10.1.4";}))
445+
(mkPkg "cardano-node" (caPkgs."cardano-node-input-output-hk-cardano-node-10-2-1-52b708f" // {version = "10.2.1";}))
446446
(mkPkg "cardano-node-ng" (caPkgs."cardano-node-input-output-hk-cardano-node-10-2-1-52b708f" // {version = "10.2.1";}))
447447
(mkPkg "cardano-ogmios" caPkgs.ogmios-input-output-hk-cardano-ogmios-v6-3-0-8ab5fd6)
448-
(mkPkg "cardano-smash" caPkgs.cardano-smash-server-no-basic-auth-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281)
449-
(mkPkg "cardano-smash-ng" caPkgs.cardano-smash-server-no-basic-auth-input-output-hk-cardano-db-sync-13-6-0-4-0b7c281)
450-
(mkPkg "cardano-submit-api" caPkgs."cardano-submit-api-input-output-hk-cardano-node-10-1-4-1f63dbf")
448+
(mkPkg "cardano-smash" caPkgs.cardano-smash-server-no-basic-auth-input-output-hk-cardano-db-sync-13-6-0-5-cb61094)
449+
(mkPkg "cardano-smash-ng" caPkgs.cardano-smash-server-no-basic-auth-input-output-hk-cardano-db-sync-13-6-0-5-cb61094)
450+
(mkPkg "cardano-submit-api" caPkgs."cardano-submit-api-input-output-hk-cardano-node-10-2-1-52b708f")
451451
(mkPkg "cardano-submit-api-ng" caPkgs."cardano-submit-api-input-output-hk-cardano-node-10-2-1-52b708f")
452-
(mkPkg "cardano-testnet" caPkgs."cardano-testnet-input-output-hk-cardano-node-10-1-4-1f63dbf")
452+
(mkPkg "cardano-testnet" caPkgs."cardano-testnet-input-output-hk-cardano-node-10-2-1-52b708f")
453453
(mkPkg "cardano-testnet-ng" caPkgs."cardano-testnet-input-output-hk-cardano-node-10-2-1-52b708f")
454-
(mkPkg "cardano-tracer" caPkgs."cardano-tracer-input-output-hk-cardano-node-10-1-4-1f63dbf")
454+
(mkPkg "cardano-tracer" caPkgs."cardano-tracer-input-output-hk-cardano-node-10-2-1-52b708f")
455455
(mkPkg "cardano-tracer-ng" caPkgs."cardano-tracer-input-output-hk-cardano-node-10-2-1-52b708f")
456456
(mkPkg "cardano-wallet" (caPkgs.cardano-wallet-cardano-foundation-cardano-wallet-v2024-11-18-9eb5f59
457457
// {
458458
pname = "cardano-wallet";
459459
meta.description = "HTTP server and command-line for managing UTxOs and HD wallets in Cardano.";
460460
}))
461461
(mkPkg "cc-sign" caPkgs.cc-sign-IntersectMBO-credential-manager-0-1-2-0-081cc8c)
462-
(mkPkg "db-analyser" caPkgs."db-analyser-input-output-hk-cardano-node-10-1-4-1f63dbf")
462+
(mkPkg "db-analyser" caPkgs."db-analyser-input-output-hk-cardano-node-10-2-1-52b708f")
463463
(mkPkg "db-analyser-ng" caPkgs."db-analyser-input-output-hk-cardano-node-10-2-1-52b708f")
464-
(mkPkg "db-synthesizer" caPkgs."db-synthesizer-input-output-hk-cardano-node-10-1-4-1f63dbf")
464+
(mkPkg "db-synthesizer" caPkgs."db-synthesizer-input-output-hk-cardano-node-10-2-1-52b708f")
465465
(mkPkg "db-synthesizer-ng" caPkgs."db-synthesizer-input-output-hk-cardano-node-10-2-1-52b708f")
466-
(mkPkg "db-truncater" caPkgs."db-truncater-input-output-hk-cardano-node-10-1-4-1f63dbf")
466+
(mkPkg "db-truncater" caPkgs."db-truncater-input-output-hk-cardano-node-10-2-1-52b708f")
467467
(mkPkg "db-truncater-ng" caPkgs."db-truncater-input-output-hk-cardano-node-10-2-1-52b708f")
468-
(mkPkg "isd" caPkgs.isd-isd-project-isd-v0-3-0-01ffd84)
469-
(mkPkg "process-compose" caPkgs.process-compose-F1bonacc1-process-compose-v0-80-0-26bf212)
468+
(mkPkg "isd" caPkgs.isd-isd-project-isd-v0-5-1-51d52a2)
469+
(mkPkg "process-compose" caPkgs.process-compose-F1bonacc1-process-compose-v1-46-0-6a1799e)
470470
(mkPkg "metadata-server" caPkgs.metadata-server-input-output-hk-offchain-metadata-tools-ops-1-0-0-f406c6d)
471471
(mkPkg "metadata-sync" caPkgs.metadata-sync-input-output-hk-offchain-metadata-tools-ops-1-0-0-f406c6d)
472472
(mkPkg "metadata-validator-github" caPkgs.metadata-validator-github-input-output-hk-offchain-metadata-tools-ops-1-0-0-f406c6d)
473473
(mkPkg "metadata-webhook" caPkgs.metadata-webhook-input-output-hk-offchain-metadata-tools-ops-1-0-0-f406c6d)
474-
(mkPkg "mithril-client-cli" (recursiveUpdate caPkgs.mithril-client-cli-input-output-hk-mithril-2506-0-pre-2627f17 {meta.mainProgram = "mithril-client";}))
475-
(mkPkg "mithril-client-cli-ng" (recursiveUpdate caPkgs.mithril-client-cli-input-output-hk-mithril-unstable-9ef0fd4 {meta.mainProgram = "mithril-client";}))
474+
(mkPkg "mithril-client-cli" (recursiveUpdate caPkgs.mithril-client-cli-input-output-hk-mithril-2513-0-pre-1fb85a7 {meta.mainProgram = "mithril-client";}))
475+
(mkPkg "mithril-client-cli-ng" (recursiveUpdate caPkgs.mithril-client-cli-input-output-hk-mithril-unstable-0d66de9 {meta.mainProgram = "mithril-client";}))
476476
# To update once capkgs builds and caches 2506 signer successfully
477-
(mkPkg "mithril-signer" (recursiveUpdate caPkgs.mithril-signer-input-output-hk-mithril-2450-0-pre-c6c7eba {meta.mainProgram = "mithril-signer";}))
478-
(mkPkg "mithril-signer-ng" (recursiveUpdate caPkgs.mithril-signer-input-output-hk-mithril-2450-0-pre-c6c7eba {meta.mainProgram = "mithril-signer";}))
477+
(mkPkg "mithril-signer" (recursiveUpdate caPkgs.mithril-signer-input-output-hk-mithril-2513-0-pre-1fb85a7 {meta.mainProgram = "mithril-signer";}))
478+
(mkPkg "mithril-signer-ng" (recursiveUpdate caPkgs.mithril-signer-input-output-hk-mithril-unstable-0d66de9 {meta.mainProgram = "mithril-signer";}))
479479
(mkPkg "orchestrator-cli" caPkgs.orchestrator-cli-IntersectMBO-credential-manager-0-1-2-0-081cc8c)
480480
(mkPkg "token-metadata-creator" (recursiveUpdate caPkgs.token-metadata-creator-input-output-hk-offchain-metadata-tools-ops-1-0-0-f406c6d {meta.mainProgram = "token-metadata-creator";}))
481481
(mkPkg "tx-bundle" caPkgs.tx-bundle-IntersectMBO-credential-manager-0-1-2-0-081cc8c)

perSystem/process-compose/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ flake @ {inputs, ...}: {
220220
sleep 5
221221
done
222222
223-
while ! "$CLI" ping -c 1 -u "$SOCKET" -m "${envBinCfgs.${env}.magic}" &> /dev/null; do
223+
while ! "$CLI" query tip --socket-path "$SOCKET" --testnet-magic "${envBinCfgs.${env}.magic}" &> /dev/null; do
224224
echo "$(date -u --rfc-3339=seconds): Waiting 5 seconds for the socket to become active at $SOCKET"
225225
sleep 5
226226
done

0 commit comments

Comments
 (0)