We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3364b3e commit 6c5b9aeCopy full SHA for 6c5b9ae
nix/workbench/genesis.sh
@@ -190,7 +190,24 @@ case "$op" in
190
# }'
191
# -o "$dir"/cardano-cli-execution-stats.json
192
# )
193
+
194
+ jq '
195
+ to_entries
196
+ | map
197
+ ({ key: (.value.i | tostring)
198
+ , value:
199
+ [{ "single host name":
200
+ { dnsName: .key
201
+ , port: .port
202
+ }
203
204
+ ]
205
+ })
206
+ | from_entries
207
+ ' "$node_specs" > "$dir"/pool-relays.json
208
209
params=(--genesis-dir "$dir"
210
+ --relay-specification-file "$dir/pool-relays.json"
211
$(jq '.cli_args.createFinalBulk | join(" ")' "$profile_json" --raw-output)
212
)
213
time cardano-cli genesis create-staked "${params[@]}"
0 commit comments