mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 12:30:08 +00:00
Make it easier to test trustedNodeSync or different networks
This commit is contained in:
parent
2f62567624
commit
7f681af56f
@ -417,10 +417,12 @@ proc doTrustedNodeSync*(
|
|||||||
checkpointRoot
|
checkpointRoot
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
import std/[os]
|
import
|
||||||
|
std/[os],
|
||||||
|
networking/network_metadata
|
||||||
|
|
||||||
let backfill = os.paramCount() > 3 and os.paramStr(4) == "true"
|
let backfill = os.paramCount() > 4 and os.paramStr(5) == "true"
|
||||||
|
|
||||||
waitFor doTrustedNodeSync(
|
waitFor doTrustedNodeSync(
|
||||||
defaultRuntimeConfig, os.paramStr(1), os.paramStr(2), os.paramStr(3),
|
getRuntimeConfig(some os.paramStr(1)), os.paramStr(2), os.paramStr(3), os.paramStr(4),
|
||||||
backfill)
|
backfill)
|
||||||
|
2
vendor/nim-eth
vendored
2
vendor/nim-eth
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 92b14b43eb817122d3e95672a46d0315b37d2ef0
|
Subproject commit 3e7da146671a6b56939c379d4ac780963bdd1c85
|
Loading…
x
Reference in New Issue
Block a user