External validator client should retrieve network information from the beacon node config endpoint
See original GitHub issueDescription
Rather than having to be explicitly told the network to use, the external validator should retrieve the network config from the beacon chain config endpoint. Shouldn’t need to specify --network
for the external validator client at all.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Validator client subcommand options - Teku
Run a validator client that connects to a remote beacon node. ... You can configure multiple beacon nodes by providing a comma-separated ...
Read more >Installing consensus client (beacon chain and validator)
Pick a consensus client · 4.1. Install rust dependency · 4.2. Build Lighthouse from source · 4.3. Import validator key · 4.4. Configure...
Read more >Prysm's beacon node
Beacon nodes communicate their processed blocks to their peers via a P2P (peer-to-peer) network, which also manages the lifecycle process of active validator...
Read more >Beacon Node API - Lighthouse Book
Do not expose the beacon node API to the public internet or you will open your node to denial-of-service (DoS) attacks. The API...
Read more >ConsenSys Teku REST API documentation - stable
Retrieve details of the chain's genesis which can be used to identify chain. ... to node's pool and if passes validation node MUST...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good point. I was thinking backward compatibility in terms of not failing to start if you have
--network
specified (because if it’s removed it becomes an invalid option). Changing behaviour unexpectedly is probably not ideal though.The saving grace here is that if you have a beacon node on prater and a validator client on mainnet, it’s not going to work anyway. So while we probably want to provide some notice about the upcoming change, ultimately when we do switch over, the behaviour should either be unchanged or go from not working to working.
Yes, I think ultimately this is where we want to get to.
I’d suggest that we do this in three steps.
--network auto
which means load the config from the beacon node. Default would remain--network mainnet
. This then acts as a really handy feature toggle so people can test out the new approach without it being the default and applying to everyone all at once--network auto
. Probably at this point we’d also hide the--network
option, update docs etc so new users just expect it to get the config automatically, but teku still starts for users who have the--network
option. We’d add removal of--network
to the list of upcoming breaking changes in the changelog.--network
option.Sorry for the delayed response @ajsutton. This sounds like a sensible approach. I’ve pushed a draft PR #4324, for feedback.