Skip to content

Commit ea95cdb

Browse files
committed
Update cardano-node to 10.5.1 and support peer-snapshot.json
1 parent eff9b8e commit ea95cdb

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## vNext
4+
5+
### Chores
6+
7+
- Update `cardano-node` to 10.5.1 and support `peer-snapshot.json` ([PR 3294](https://github.com/input-output-hk/daedalus/pull/3294))
8+
39
## 7.2.0
410

511
### Fixes

flake.lock

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

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-22.11-darwin";
66
cardano-wallet-unpatched.url = "github:cardano-foundation/cardano-wallet/v2025-03-31";
77
cardano-wallet-unpatched.flake = false; # otherwise, +10k quadratic dependencies in flake.lock…
8-
cardano-node-override.url = "github:IntersectMBO/cardano-node/10.2.1";
8+
cardano-node-override.url = "github:IntersectMBO/cardano-node/10.5.1";
99
cardano-node-override.flake = false;
10-
cardano-playground.url = "github:input-output-hk/cardano-playground/d3322dce0ab1c00386adc93899aabe9252342b54";
10+
cardano-playground.url = "github:input-output-hk/cardano-playground/56ebfef5595c43014029b039ade01b0ef06233e0";
1111
cardano-playground.flake = false; # otherwise, +9k dependencies in flake.lock…
1212
cardano-shell.url = "github:input-output-hk/cardano-shell/0d1d5f036c73d18e641412d2c58d4acda592d493";
1313
cardano-shell.flake = false;

nix/internal/launcher-config.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let
4343
fromCardanoPlayground = envName: let
4444
originalFiles = builtins.path {
4545
name = "cardano-playground-config-${envName}";
46-
path = cardano-playground + ("/static/book.play.dev.cardano.org/environments/" + envName);
46+
path = cardano-playground + ("/docs/environments/" + envName);
4747
};
4848

4949
originalNodeConfig = builtins.fromJSON (builtins.unsafeDiscardStringContext (
@@ -63,6 +63,7 @@ let
6363
cardanoEnv = {
6464
inherit nodeConfig;
6565
topologyFile = originalFiles + "/topology.json";
66+
peerSnapshotFile = originalFiles + "/peer-snapshot.json";
6667
metadataUrl = tokenMetadataServers.${envName};
6768
};
6869
};
@@ -267,6 +268,9 @@ let
267268
cp ${genesisFile} $out/genesis.json
268269
cp $nodeConfigPath $out/config.yaml
269270
cp $topologyFile $out/topology.yaml
271+
${lib.optionalString (envCfg ? peerSnapshotFile) ''
272+
cp ${envCfg.peerSnapshotFile} $out/peer-snapshot.json
273+
''}
270274
${lib.optionalString (network == "selfnode") ''
271275
cp ${envCfg.delegationCertificate} $out/delegation.cert
272276
cp ${envCfg.signingKey} $out/signing.key

0 commit comments

Comments
 (0)