From 38b16053cf3dd9cce5835b2da0b26a77086cdf02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 11 Mar 2022 16:22:46 +0100 Subject: [PATCH] nimbus.kiln: add validators layout for testnet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/status-im/nimbus-private/commit/e963d195 https://github.com/status-im/nimbus-private/tree/master/kiln_deposits Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/nimbus.kiln.yml | 17 ++++++++++------- ansible/requirements.yml | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ansible/group_vars/nimbus.kiln.yml b/ansible/group_vars/nimbus.kiln.yml index 42ae184..ae87b9b 100644 --- a/ansible/group_vars/nimbus.kiln.yml +++ b/ansible/group_vars/nimbus.kiln.yml @@ -36,13 +36,17 @@ geth_websocket_port: '{{ 9546 + idx|int + 1 }}' # Beacon Nodes beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-devauth-{{ "%02d"|format(idx|int+1) }}' - # WARNING: This is a manually copied network config folder relative to CWD. beacon_node_network: 'kiln' -beacon_node_repo_branch: 'kiln-dev-auth' +# FIXME: Pinned because bf127920 breaks the testnet config. +beacon_node_repo_branch: 'a35c5f83a8f7880165e19784f73463663db9fdd8' # Builds beacon_node_build_frequency: 'daily' # Eth1 Sync beacon_node_web3_urls: ['ws://{{ hostname }}.wg:{{ geth_websocket_port }}'] +# Validators from nimbus-private repo +beacon_node_dist_validators_enabled: '{{ node.start is defined and node.end is defined }}' +beacon_node_dist_validators_start: '{{ node.start | mandatory }}' +beacon_node_dist_validators_end: '{{ node.end | mandatory }}' # Ports beacon_node_discovery_port: '{{ 9000 + idx|int + 1 }}' beacon_node_listening_port: '{{ 9000 + idx|int + 1 }}' @@ -50,10 +54,9 @@ beacon_node_metrics_port: '{{ 9200 + idx|int + 1 }}' beacon_node_rest_port: '{{ 9300 + idx|int + 1 }}' beacon_node_rpc_port: '{{ 9900 + idx|int + 1 }}' -# TODO: Add validator layout. nodes_layout: 'metal-01.he-eu-hel1.nimbus.kiln': - - {} - - {} - - {} - - {} + - { start: 0, end: 125 } + - { start: 125, end: 250 } + - { start: 250, end: 375 } + - { start: 375, end: 500 } diff --git a/ansible/requirements.yml b/ansible/requirements.yml index bb4dcb8..cd46c50 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -16,7 +16,7 @@ - name: infra-role-bootstrap-linux src: git@github.com:status-im/infra-role-bootstrap-linux.git - version: 40abcc62b18ac5127866c9c413491a7b92451cac + version: 05d877a869748b2cf8e539bd9cb00e881471556e scm: git - name: infra-role-bootstrap-windows