Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Dec 12, 2023
1 parent a3c3063 commit 8094c2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions charts/tezos/templates/octez-dal-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ spec:
- name: MY_POD_NAME
value: {{ $k }}
- name: MY_POD_TYPE
value: baker
value: dal
{{- if $v.attest_using_accounts | default false }}
- name: ATTEST_USING_ACCOUNTS
value: {{ toJson $v.attest_using_accounts | quote }}
{{- end }}
volumeMounts:
- mountPath: /var/tezos
name: var-volume
Expand Down Expand Up @@ -77,10 +81,6 @@ spec:
- name: BOOTSTRAP_PROFILE
value: "true"
{{- end }}
{{- if $v.attesterProfiles | default false }}
- name: ATTESTER_PROFILES
value: "{{ $v.attesterProfiles }}"
{{- end }}
{{- if $v.peer | default false }}
- name: PEER
value: "{{ $v.peer }}"
Expand Down
2 changes: 1 addition & 1 deletion mkchain/tqchain/mkchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def main():

dalNodes = {
f"{DAL_NODE_NAME}-{n}": {
"attesterProfiles": "tz1fqR2X7iQSGD6ntLLDDrpAWMCcp74D39ut",
"attester_using_accounts": [ "baker-0"],
"node_rpc_url": f"http://{L1_NODE_NAME}-0.{L1_NODE_NAME}:8732",
}
for n in range(args.dal_nodes)
Expand Down
4 changes: 2 additions & 2 deletions utils/config-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ def main():

# Create dal_config.json
if MY_POD_TYPE == "dal":
attest_for_accounts = json.loads(os.getenv("ATTEST_FOR_ACCOUNTS", "[]"))
attest_using_accounts = json.loads(os.getenv("ATTEST_USING_ACCOUNTS", "[]"))
attester_list = ""
for account in attest_for_accounts:
for account in attest_using_accounts:
attester_list += f"{all_accounts[account]['public_key_hash']} "

with open("/var/tezos/dal_attester_config", "w") as attester_file:
Expand Down

0 comments on commit 8094c2b

Please sign in to comment.