Open etan-status opened 2 years ago
According to @tersec we should run those on Mainnet and Holesky. The nodes are very lightweight and can make use of execution layer nodes, but does not need it. We would need one node per host as a start.
https://nimbus.guide/el-light-client.html but no need to run it with an EL client, it can stand alone and can't host validators anyway
This task seems like a nice self-contained one for one of my new engineers.
I'll start by getting this light client to run on Holesky
I see Sid probably created a repo but never pushed anything to it: https://github.com/status-im/infra-role-nimbus-light-client
There is an additional
nimbus_light_client
binary available innimbus-eth2
unstable
(and, eventually, also on the other branches). It would be interesting to have a few instances of these in the fleet to collect metrics regarding bandwidth (primary), memory, and CPU.Compared to
nimbus_beacon_node
, thenimbus_light_client
binary does not need adata-dir
. It takes similar arguments for configuring logs and libp2p settings (port numbers etc).However, there is an additional
--trusted-block-root
argument that needs to be initialized to a recent checkpoint block root.To obtain a
--trusted-block-root
, an existingnimbus_beacon_node
could be queried:For all the launch arguments, see https://github.com/status-im/nimbus-eth2/blob/62bfe97bbed8acd511817ef85d6ff9acaebeefe6/beacon_chain/conf_light_client.nim
For sample integration into the
launch_local_testnet
script used in CI, see https://github.com/status-im/nimbus-eth2/blob/62bfe97bbed8acd511817ef85d6ff9acaebeefe6/scripts/launch_local_testnet.sh#L742-L752