Start using eth2 code.

All possible constraints regarding eth2 are identified and tested for possible solutions.
This commit is contained in:
Pedro Miranda 2024-11-29 11:36:39 +00:00
parent 2c7eca1c57
commit 382296f809
2 changed files with 4 additions and 6 deletions

View File

@ -9,7 +9,7 @@
import
std/[os, atomics, random, terminal, times, exitprocs, sequtils],
metrics,
beacon_chain/nimbus_binary_common,
beacon_chain/[nimbus_beacon_node, nimbus_binary_common],
beacon_chain/spec/forks,
beacon_chain/[beacon_chain_db, trusted_node_sync],
beacon_chain/networking/network_metadata_downloads,
@ -2357,7 +2357,7 @@ proc start*(node: BeaconNode) {.raises: [CatchableError].} =
## runs beacon node
## adapted from nimbus-eth2
proc doRunBeaconNode(
proc doRunBeaconNodeLocal(
config: var BeaconNodeConf, rng: ref HmacDrbgContext
) {.raises: [CatchableError].} =
# TODO: Define this varaibles somewhere

View File

@ -6,15 +6,13 @@
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import
std/[atomics, os],
std/[atomics, os, exitprocs],
chronicles,
stew/io2,
consensus/consensus_wrapper,
execution/execution_wrapper,
beacon_chain/[conf, conf_common],
beacon_chain/[beacon_chain_db],
beacon_chain/[nimbus_binary_common, conf, conf_common],
beacon_chain/validators/keystore_management,
beacon_chain/nimbus_binary_common,
version
## Constants