File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3535 } // lib . optionalAttrs ( env . nodeConfig ? CheckpointsFile ) {
3636 CheckpointsFile = "checkpoints.json" ;
3737 } ;
38+
3839 nodeConfig = pkgs . writeText
3940 "config.json"
4041 ( builtins . toJSON
4546 ( builtins . toJSON
4647 ( env . nodeConfigLegacy // genesisAttrs ) ) ;
4748
49+ submitApiConfig = pkgs . writeText
50+ "submit-api-config.json"
51+ ( builtins . toJSON env . submitApiConfig ) ;
52+
4853 tracerConfig = pkgs . writeText
4954 "tracer-config.json"
5055 ( builtins . toJSON env . tracerConfig ) ;
6469 mkdir -p "share/${ name } "
6570 jq . < "${ nodeConfig } " > share/${ name } /config.json
6671 jq . < "${ nodeConfigLegacy } " > share/${ name } /config-legacy.json
72+ jq . < "${ submitApiConfig } " > share/${ name } /submit-api-config.json
6773 jq . < "${ tracerConfig } " > share/${ name } /tracer-config.json
6874 jq . < "${ peerSnapshot } " > share/${ name } /peer-snapshot.json
6975 jq '.peerSnapshotFile = "peer-snapshot.json"' < "${ topologyConfig } " > share/${ name } /topology.json
You can’t perform that action at this time.
0 commit comments