mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-22 11:18:25 +00:00
Altair config for mainnet
This still doesn't work properly because it leads to a change in the "eth" ENR field of the client. Since the client uses the value of this field to look for other nodes on the network, the change effectively prevents us from finding peers.
This commit is contained in:
parent
4743807079
commit
cc5d85331b
@ -144,6 +144,10 @@ const
|
||||
|
||||
"CONFIG_NAME",
|
||||
|
||||
# Merge-related settings that are already part of the mainnet config:
|
||||
"TERMINAL_TOTAL_DIFFICULTY",
|
||||
"TERMINAL_BLOCK_HASH",
|
||||
|
||||
"TRANSITION_TOTAL_DIFFICULTY", # Name that appears in some altair alphas, obsolete, remove when no more testnets
|
||||
]
|
||||
|
||||
@ -386,7 +390,8 @@ proc readRuntimeConfig*(
|
||||
for line in splitLines(readFile(path)):
|
||||
inc lineNum
|
||||
if line.len == 0 or line[0] == '#': continue
|
||||
|
||||
# remove any trailing comments
|
||||
let line = line.split("#")[0]
|
||||
var lineParts = line.split(":")
|
||||
if lineParts.len != 2:
|
||||
fail "Invalid syntax: A preset file should include only assignments in the form 'ConstName: Value'"
|
||||
|
2
vendor/eth2-networks
vendored
2
vendor/eth2-networks
vendored
@ -1 +1 @@
|
||||
Subproject commit c5f078390730998e468d2b66e21728aeef432bef
|
||||
Subproject commit e14cfc658fcde662d08ba5cf50f263fca7421eba
|
Loading…
x
Reference in New Issue
Block a user