File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 6565 topologyFile = originalFiles + "/topology.json" ;
6666 peerSnapshotFile = originalFiles + "/peer-snapshot.json" ;
6767 metadataUrl = tokenMetadataServers . ${ envName } ;
68- } ;
68+ } // ( let
69+ checkpointsFile = originalFiles + "/checkpoints.json" ;
70+ in if builtins . pathExists checkpointsFile then { inherit checkpointsFile ; } else { } ) ;
6971 } ;
7072
7173 dirSep = if os == "windows" then "\\ " else "/" ;
271273 ${ lib . optionalString ( envCfg ? peerSnapshotFile ) ''
272274 cp ${ envCfg . peerSnapshotFile } $out/peer-snapshot.json
273275 '' }
276+ ${ lib . optionalString ( envCfg ? checkpointsFile ) ''
277+ cp ${ envCfg . checkpointsFile } $out/checkpoints.json
278+ '' }
274279 ${ lib . optionalString ( network == "selfnode" ) ''
275280 cp ${ envCfg . delegationCertificate } $out/delegation.cert
276281 cp ${ envCfg . signingKey } $out/signing.key
You can’t perform that action at this time.
0 commit comments