use Geth Goerli WebSocket endpoint for Pyrmont fleet

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-12-04 13:05:31 +01:00
parent 65f0d944d8
commit 989aeacb51
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,6 @@
---
beacon_node_network: 'pyrmont'
beacon_node_cont_tag: 'devel-{{ (hostname is search("large")) | ternary("large", "small") }}'
beacon_node_web3_url: 'wss://goerli.infura.io/ws/v3/922cc3c4badf4789b68d895267530a4a'
dist_validators_layout:
"devel-large-01.aws-eu-central-1a.nimbus.pyrmont": { start: 10000, end: 12000 } # 2000 each
"devel-large-02.aws-eu-central-1a.nimbus.pyrmont": { start: 12000, end: 14000 }

View File

@ -1,7 +1,6 @@
---
beacon_node_network: 'pyrmont'
beacon_node_cont_tag: 'libp2p-{{ (hostname is search("large")) | ternary("large", "small") }}'
beacon_node_web3_url: 'wss://goerli.infura.io/ws/v3/01cde3e0c47a47ff8dcdc52259b3a71c'
dist_validators_layout:
"libp2p-small-01.aws-eu-central-1a.nimbus.pyrmont": { start: 18000, end: 19000 } # 1000 each
"libp2p-small-02.aws-eu-central-1a.nimbus.pyrmont": { start: 19000, end: 20000 }

View File

@ -1,7 +1,6 @@
---
beacon_node_network: 'pyrmont'
beacon_node_cont_tag: 'master-{{ (hostname is search("large")) | ternary("large", "small") }}'
beacon_node_web3_url: 'wss://goerli.infura.io/ws/v3/675db4626923473591cf6418e4dae175'
dist_validators_layout:
"master-large-01.aws-eu-central-1a.nimbus.pyrmont": { start: 0, end: 2500 } # 2500 each
"master-large-02.aws-eu-central-1a.nimbus.pyrmont": { start: 2500, end: 5000 }

View File

@ -19,6 +19,19 @@
- nimbus-pyrmont-master
- nimbus-pyrmont-devel
- nimbus-pyrmont-libp2p
pre_tasks:
- name: Discover Goerli Geth WebSocket endpoint
tags: [ infra-role-beacon-node, beacon-node ]
uri:
url: '{{ consul_catalog_url }}/service/geth-goerli-ws'
register: geth_service
- name: Extract Goerli Geth WebSocket URL
tags: [ infra-role-beacon-node, beacon-node ]
set_fact:
beacon_node_web3_url: 'ws://{{ geth_service.json[0].ServiceAddress }}:{{ geth_service.json[0].ServicePort }}'
- debug: var=beacon_node_web3_url
tags: [ infra-role-beacon-node, beacon-node ]
roles:
- { role: distribute-validators, tags: [ distribute-validators ] }
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }