Skip to content

Add global ENVs for Göerli EL Clients #14

@alexpeterson91

Description

@alexpeterson91

Since we have 4 Göerli Execution Clients and the config currently defaults Ethereum and all Ethereum testnets (goerli, ropsten, rinkeby, I think sepolia is on the relay list of Pokt and can be added with one line in the chains file) to Geth. For all testnets aside from Goerli we have only Geth published. So with the stakersUI as it stands today you must use goerli geth as your goerli relay chain.

Describe the solution you'd like

So I propose we implement global ENV for _DAPPNODE_GLOBAL_EXECUTION_CLIENT_PRATER and change the config of the goerli relay endpoint to be determined and set by the stakersUI via the Global ENV above.

This obviously will apply to mainnet down the road and other EVM chains.

But what I want to accomplish here is when using pokt and relaying goerli chain when you change the EL client in the prater stakersUI pokt should also use the _DAPPNODE_GLOBAL_EXECUTION_CLIENT_PRATER ENV variable as the chosen domain for goerli relay. So if I'm running on goerli geth and want or need to change to nethermind goerli or goerli besu whatever pokt sees the change and changes its relay end point to match the active goerli EL endpoint to relay.

Describe alternatives you've considered

Considered adding more manual features to the UI but it would make the UX much worse.

Additional context

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions