20 lines
793 B
YAML
20 lines
793 B
YAML
---
|
|
eth2_to_eth1_map:
|
|
prater: 'goerli'
|
|
mainnet: 'mainnet'
|
|
ropsten: 'ropsten'
|
|
|
|
eth2_network_name: '{{ beacon_node_network | mandatory }}'
|
|
eth1_network_name: '{{ eth2_to_eth1_map[eth2_network_name] | mandatory }}'
|
|
geth_node_api_consul_name: 'nimbus-{{ eth1_network_name | mandatory }}-node'
|
|
# The more the merrier, since we don't want to hit Infura throttling.
|
|
infura_api_tokens:
|
|
- '9e2f2cc13f70432f8b87dbe7d51b81db'
|
|
- '922cc3c4badf4789b68d895267530a4a'
|
|
- '01cde3e0c47a47ff8dcdc52259b3a71c'
|
|
- '675db4626923473591cf6418e4dae175'
|
|
- '5cae339ba3144f438e8da1db2c25cad4'
|
|
|
|
selected_infura_token: '{{ infura_api_tokens[play_hosts.index(inventory_hostname) % (infura_api_tokens|length)] }}'
|
|
selected_infura_url: 'wss://{{ eth1_network_name }}.infura.io/ws/v3/{{ selected_infura_token }}'
|