Skip to content

Commit

Permalink
baker_pubkey => baker_pkh for endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Jul 6, 2023
1 parent 919ce91 commit 5f8d411
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions baker-endpoint/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ async function main() {
describe: "Baker listener port",
type: "number",
demandOption: true,
}).option('baker_pubkey', {
describe: "Baker public key",
}).option('baker_pkh', {
describe: "Baker public key hash starting with tz",
type: "string",
demandOption: true,
})
})
.strictCommands()
.demandCommand(1, 'You need to pass the run command, as in "flashbake-baker-endpoint run"').argv;

startBakerEndpoint(argv.relay_listener_port, argv.baker_listener_port, argv.tezos_rpc_url, argv.baker_pubkey);
startBakerEndpoint(argv.relay_listener_port, argv.baker_listener_port, argv.tezos_rpc_url, argv.baker_pkh);
}

main();
4 changes: 2 additions & 2 deletions helm/baker-endpoint/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ spec:
- {{ .Values.tezos_rpc_url }}
- --baker_listener_port
- "{{ .Values.baker_listener_port }}"
- --baker_pubkey
- "{{ .Values.baker_pubkey }}"
- --baker_pkh
- "{{ .Values.baker_pkh }}"
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/baker-endpoint/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ baker_listener_hostname: baker-listener.example.com
baker_listener_port: 12732

# the baker public key
baker_pubkey: tz1xx
baker_pkh: tz1xx

replicaCount: 1

Expand Down

0 comments on commit 5f8d411

Please sign in to comment.