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_id: '{{ geth_lov_level_names[geth_log_level_name | lower] | mandatory }}'
|
||||
|
||||
# Mapping of network names to IDs for --networkid flag
|
||||
geth_network_ids:
|
||||
frontier: 1
|
||||
mainnet: 1
|
||||
ropsten: 3
|
||||
testnet: 3
|
||||
rinkeby: 4
|
||||
goerli: 5
|
||||
# Available: frontier/mainnet, ropsten/testnet, rinkeby, goerli
|
||||
# Available: mainnet, goerli, rinkeby, yolov1, ropsten
|
||||
geth_network_name: 'mainnet'
|
||||
geth_network_id: '{{ geth_network_ids[geth_network_name] }}'
|
||||
|
||||
# Port to listen on
|
||||
geth_port: 30303
|
||||
|
|
|
@ -19,9 +19,10 @@
|
|||
labels:
|
||||
# These are just for documentation
|
||||
org.ethereum.geth.network_name: '{{ geth_network_name }}'
|
||||
org.ethereum.geth.network_id: '{{ geth_network_id }}'
|
||||
command: |
|
||||
--networkid={{ geth_network_id }}
|
||||
{% if geth_network_name != "mainnet" %}
|
||||
--{{ geth_network_name }}
|
||||
{% endif %}
|
||||
{% if geth_v5disc_enabled %}
|
||||
--v5disc
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue