mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-01-09 11:45:50 +00:00
don't use --networkid flag, it causes issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a7effd42f2
commit
cc19c54471
@ -74,17 +74,8 @@ geth_lov_level_names:
|
|||||||
geth_log_level_name: 'info'
|
geth_log_level_name: 'info'
|
||||||
geth_log_level_id: '{{ geth_lov_level_names[geth_log_level_name | lower] | mandatory }}'
|
geth_log_level_id: '{{ geth_lov_level_names[geth_log_level_name | lower] | mandatory }}'
|
||||||
|
|
||||||
# Mapping of network names to IDs for --networkid flag
|
# Available: mainnet, goerli, rinkeby, yolov1, ropsten
|
||||||
geth_network_ids:
|
|
||||||
frontier: 1
|
|
||||||
mainnet: 1
|
|
||||||
ropsten: 3
|
|
||||||
testnet: 3
|
|
||||||
rinkeby: 4
|
|
||||||
goerli: 5
|
|
||||||
# Available: frontier/mainnet, ropsten/testnet, rinkeby, goerli
|
|
||||||
geth_network_name: 'mainnet'
|
geth_network_name: 'mainnet'
|
||||||
geth_network_id: '{{ geth_network_ids[geth_network_name] }}'
|
|
||||||
|
|
||||||
# Port to listen on
|
# Port to listen on
|
||||||
geth_port: 30303
|
geth_port: 30303
|
||||||
|
@ -19,9 +19,10 @@
|
|||||||
labels:
|
labels:
|
||||||
# These are just for documentation
|
# These are just for documentation
|
||||||
org.ethereum.geth.network_name: '{{ geth_network_name }}'
|
org.ethereum.geth.network_name: '{{ geth_network_name }}'
|
||||||
org.ethereum.geth.network_id: '{{ geth_network_id }}'
|
|
||||||
command: |
|
command: |
|
||||||
--networkid={{ geth_network_id }}
|
{% if geth_network_name != "mainnet" %}
|
||||||
|
--{{ geth_network_name }}
|
||||||
|
{% endif %}
|
||||||
{% if geth_v5disc_enabled %}
|
{% if geth_v5disc_enabled %}
|
||||||
--v5disc
|
--v5disc
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user