rayonism: deploy beacon node for steklo testnet

https://github.com/status-im/infra-nimbus/issues/53

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-04-29 15:11:52 +02:00
parent 6b8245ad63
commit 97db7ea804
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 18 additions and 4 deletions

View File

@ -4,9 +4,14 @@ geth_service_name: 'nimbus-steklo'
geth_cont_image: 'ethereum/client-go@sha256:ac3cbd85ba801989a263263b318f68f6342a373c26b2d949ca925846ec06980b'
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
geth_sync_mode: 'fast'
# Beacon node needs access from within container
geth_rpc_addr: '{{ ansible_local.tinc.vpn_ip }}'
geth_rpc_port: 8545
# Custom testnet genesis init
geth_init_enabled: true
geth_init_url: 'https://raw.githubusercontent.com/protolambda/steklo/92da84796d820855c8a42870f5ad2ad7e669527c/eth1_config.json'
geth_init_sha256: '7c826454da40b158f21124e9721ee5531e841b68d4888169f4227598d32b6e35'
# Necessary for steklo testnet to work
geth_extra_flags:
- '--catalyst'
- '--miner.etherbase 0x6Afe05557279c2060937aE5559Fa6108405a83CC'
@ -19,3 +24,10 @@ geth_network_name: 'mainnet'
# Beacon node
beacon_node_network: 'steklo'
beacon_node_cont_tag: 'qmerge-large'
beacon_node_web3_urls: [ 'ws://{{ ansible_local.tinc.vpn_ip }}:{{ geth_rpc_port }}' ]
# Disabled for genesis to avoid missing first two slots
beacon_node_doppelganger_detection: false
# TODO: Uncomment once validators are available
#dist_validators_layout:
# "unstable-large-01.aws-eu-central-1a.nimbus.pyrmont": { start: 0, end: 2048 }

View File

@ -15,4 +15,6 @@
any_errors_fatal: true
hosts: 'nimbus.rayonism'
roles:
- { role: infra-role-geth, tags: infra-role-geth }
- { role: infra-role-geth, tags: [ infra-role-geth ] }
- { role: distribute-validators, tags: [ distribute-validators ] }
- { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }

View File

@ -21,7 +21,7 @@
- name: infra-role-bootstrap
src: git@github.com:status-im/infra-role-bootstrap.git
version: 865f5bb4a4478a665b8105c39ee54bd42f9a835d
version: 15a0df4a478e9ebb23bf40a261e7bd1b6356d043
scm: git
- name: oauth-proxy
@ -36,7 +36,7 @@
- name: infra-role-beacon-node
src: git@github.com:status-im/infra-role-beacon-node.git
version: 92f740e089094a372c179d8ae2c793c8f1415464
version: 75c58e72baf7dff9266634689d41e011f715327b
scm: git
- name: kibana
@ -71,7 +71,7 @@
- name: infra-role-geth
src: git@github.com:status-im/infra-role-geth.git
version: 27ff1d257bb3aeba1496de97b2a604eff40c3188
version: f76e6f37792dc39302d175017f79a4711ecf33df
scm: git
- name: infra-role-geth-exporter