geth: multiply password to match number of keys

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Tanguy 2022-04-24 14:18:07 +02:00 committed by Jakub
parent e1d5f000c5
commit 76a815e335
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,11 @@
---
# Geth
geth_account_pass: 'verysafe' # FIXME
geth_public_keys_count: '{{ (poa_public_keys|length) + (eth_public_keys|length) }}'
geth_account_pass: |-
{% for _ in range(0, (geth_public_keys_count|int)) %}
verysafe
{% endfor %}
geth_account_addr: "{{ eth_public_keys | join(',') }}"
geth_network_id: 73738
geth_sync_mode: 'full'
geth_port: 30303

View File

@ -11,7 +11,7 @@
- name: infra-role-bootstrap-linux
src: git@github.com:status-im/infra-role-bootstrap-linux.git
version: 7280600c2c6cf532fdbbbb31481fdb068dd0573e
version: 33098ecb87e16187a83bdded7196b21328e53354
scm: git
- name: infra-role-wireguard
@ -26,7 +26,7 @@
- name: infra-role-geth
src: git@github.com:status-im/infra-role-geth.git
version: 9647eaeaf5331fde07a33fe9d5194e78e3c5cd95
version: 3a66240759091f9b70759a38197a8352ad917bb4
scm: git
- name: infra-role-nim-codex