keep-core icon indicating copy to clipboard operation
keep-core copied to clipboard

Validate Chain ID on ethereum connection establishement

Open nkuba opened this issue 3 years ago • 0 comments

We expect the client to be run for a network specified with boolean flags like --mainnet and --goerli. Another setting that is required is an URL to the Ethereum API. Here we want to ensure that the API URL works with the network that the client is expected to be run against. We use Chain ID for validation.

The exception is --developer network, that we won't validate the Chain ID as it can vary.

Depends on https://github.com/keep-network/keep-common/pull/100 Depends on https://github.com/keep-network/keep-core/pull/3200

nkuba avatar Aug 25 '22 13:08 nkuba