Skip to content

Commit 7c08e44

Browse files
committed
peerSnap: include the env name to match the initial generated flat cfg dir
1 parent 7607205 commit 7c08e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cardano-lib/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{lib, writeText, runCommand, jq}:
22
let
3-
inherit (builtins) attrNames elem fromJSON getAttr readFile toFile toJSON;
3+
inherit (builtins) attrNames fromJSON getAttr readFile toFile toJSON;
44
inherit (lib) filterAttrs flip forEach listToAttrs mapAttrs mapAttrsToList optionalAttrs optionalString pipe;
55

66
mkEdgeTopology = {
@@ -84,7 +84,7 @@ let
8484
# mode is default, and migration to genesis mode for all networks is
8585
# coming soon, the snapshot will be declared in all network topologies
8686
# which also makes genesis testing a bit easier.
87-
peerSnapshotFile = "peer-snapshot.json";
87+
peerSnapshotFile = "${env.name}-peer-snapshot.json";
8888
};
8989
in
9090
if (env.nodeConfig.EnableP2P or false)

0 commit comments

Comments
 (0)