rayonism: use WebSocket instead of HTTp for RPC

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-05-11 11:33:31 +02:00
parent e20bbb1c48
commit 23dc761b41
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 4 deletions

View File

@ -8,9 +8,6 @@ geth_log_level_name: 'debug'
# Enable consensus API # Enable consensus API
geth_rcp_api: 'eth,net,web3,personal,admin,consensus' geth_rcp_api: 'eth,net,web3,personal,admin,consensus'
geth_websocket_api: 'eth,net,web3,personal,admin,consensus' geth_websocket_api: 'eth,net,web3,personal,admin,consensus'
# Beacon node needs access from within container
geth_rpc_addr: '{{ ansible_local.tinc.vpn_ip }}'
geth_rpc_port: 8545
# Custom testnet genesis init # Custom testnet genesis init
geth_init_enabled: true geth_init_enabled: true
geth_init_url: 'https://raw.githubusercontent.com/protolambda/nocturne/1f9003379a8207d538d88dc39ca99b5d630e6b39/eth1_config.json' geth_init_url: 'https://raw.githubusercontent.com/protolambda/nocturne/1f9003379a8207d538d88dc39ca99b5d630e6b39/eth1_config.json'
@ -28,7 +25,7 @@ geth_network_name: 'mainnet'
# Beacon node # Beacon node
beacon_node_network: 'nocturne' beacon_node_network: 'nocturne'
beacon_node_cont_tag: 'qmerge-large' beacon_node_cont_tag: 'qmerge-large'
beacon_node_web3_urls: [ 'http://{{ ansible_local.tinc.vpn_ip }}:{{ geth_rpc_port }}' ] beacon_node_web3_urls: [ 'ws://{{ ansible_local.tinc.vpn_ip }}:{{ geth_websocket_port }}' ]
# Disabled for genesis to avoid missing first two slots # Disabled for genesis to avoid missing first two slots
beacon_node_doppelganger_detection: false beacon_node_doppelganger_detection: false