2021-04-29 12:34:39 +00:00
|
|
|
---
|
|
|
|
# Geth node
|
2021-05-11 08:42:11 +00:00
|
|
|
geth_service_name: 'nimbus-nocturne'
|
2021-05-11 09:59:34 +00:00
|
|
|
geth_service_path: '{{ beacon_node_cont_vol }}'
|
|
|
|
geth_compose_path: '{{ geth_service_path }}/docker-compose.geth.yml'
|
2021-05-11 10:23:28 +00:00
|
|
|
geth_rpc_wrapper: '{{ geth_service_path }}/rpc.geth.sh'
|
2021-05-11 08:42:11 +00:00
|
|
|
geth_cont_image: 'ethereum/client-go@sha256:82920663d5c2378d9d21c640f30c885154e5eca6d1dd7ccec83711f527aeddbf'
|
2021-05-11 13:37:45 +00:00
|
|
|
geth_account_pass: '{{lookup("passwordstore", "services/Nimbus-Geth/password")}}'
|
2021-04-29 12:34:39 +00:00
|
|
|
geth_sync_mode: 'fast'
|
2021-04-30 09:33:53 +00:00
|
|
|
geth_log_level_name: 'debug'
|
2021-04-29 17:29:14 +00:00
|
|
|
# Enable consensus API
|
2021-05-11 10:23:28 +00:00
|
|
|
geth_rpc_addr: '127.0.0.1'
|
|
|
|
geth_rpc_port: 8545
|
|
|
|
geth_websocket_enabled: true
|
|
|
|
geth_websocket_port: '{{ geth_rpc_port + 1 | int }}'
|
2021-04-29 17:29:14 +00:00
|
|
|
geth_rcp_api: 'eth,net,web3,personal,admin,consensus'
|
|
|
|
geth_websocket_api: 'eth,net,web3,personal,admin,consensus'
|
2021-04-29 13:11:52 +00:00
|
|
|
# Custom testnet genesis init
|
2021-04-29 12:34:39 +00:00
|
|
|
geth_init_enabled: true
|
2021-05-11 08:42:11 +00:00
|
|
|
geth_init_url: 'https://raw.githubusercontent.com/protolambda/nocturne/1f9003379a8207d538d88dc39ca99b5d630e6b39/eth1_config.json'
|
|
|
|
geth_init_sha256: 'a4e4b611327f3085479c4daaeb4ecffbb41541f720c6d9d9df0f90b75ce08473'
|
|
|
|
# Necessary for nocturne testnet to work
|
2021-05-11 10:23:41 +00:00
|
|
|
geth_discovery_enabled: false
|
2021-04-29 12:34:39 +00:00
|
|
|
geth_extra_flags:
|
|
|
|
- '--catalyst'
|
2021-05-11 10:23:41 +00:00
|
|
|
- '--networkid=5'
|
2021-04-29 12:34:39 +00:00
|
|
|
- '--miner.etherbase 0x6Afe05557279c2060937aE5559Fa6108405a83CC'
|
|
|
|
# Hack fix for `invalid peer config: light peer count (100) >= total peer count (0)`
|
|
|
|
- '--light.maxpeers=-1'
|
|
|
|
|
|
|
|
# WARNING: This is a hack to avoid providing network flag.
|
|
|
|
geth_network_name: 'mainnet'
|
|
|
|
|
|
|
|
# Beacon node
|
2021-05-11 08:42:11 +00:00
|
|
|
beacon_node_network: 'nocturne'
|
2021-05-11 09:59:34 +00:00
|
|
|
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network }}-{{ beacon_node_cont_tag }}'
|
|
|
|
beacon_node_cont_vol: '/docker/{{ beacon_node_cont_name }}'
|
2021-04-29 12:34:39 +00:00
|
|
|
beacon_node_cont_tag: 'qmerge-large'
|
2021-05-11 09:59:34 +00:00
|
|
|
beacon_node_web3_urls: [ 'ws://geth:{{ geth_websocket_port }}' ]
|
2021-04-29 13:11:52 +00:00
|
|
|
# Disabled for genesis to avoid missing first two slots
|
|
|
|
beacon_node_doppelganger_detection: false
|
|
|
|
|
|
|
|
# TODO: Uncomment once validators are available
|
2021-04-30 12:15:51 +00:00
|
|
|
dist_validators_layout:
|
2021-05-11 08:42:11 +00:00
|
|
|
"qmerge-large-01.aws-eu-central-1a.nimbus.rayonism": { start: 0, end: 2400 }
|