Skip to content

Commit

Permalink
revert nimbus gnosis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketen committed Nov 4, 2024
1 parent 5e45f6a commit 927e6cb
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions packages/brain/src/modules/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,13 @@ export const brainConfig = (): BrainConfig => {
// All this logic is needed because Teku has a TLS certificate that points to the old
// https://validator.teku-${network}.dappnode:3500 URL. TODO: update the Teku TLS certificate https://docs.teku.consensys.io/how-to/configure/tls
let validatorUrl;
let beaconchainUrl;

// Setting URL for Teku consensus client
if (consensusClient === "teku") {
validatorUrl =
network === Network.Mainnet
? `https://validator.teku.dappnode:3500`
: `https://validator.teku-${network}.dappnode:3500`;
beaconchainUrl = `http://beacon-chain.${network}.dncore.dappnode:3500`;
} else if (consensusClient === "nimbus" && network === Network.Gnosis) {
// Setting URLs specifically for Nimbus client on the Gnosis network
validatorUrl = `http://beacon-validator.nimbus-gnosis.dappnode:3500`;
beaconchainUrl = `http://beacon-validator.nimbus-gnosis.dappnode:4500`;
} else {
// Default setting for other consensus clients and networks
validatorUrl = `http://validator.${network}.dncore.dappnode:3500`;
beaconchainUrl = `http://beacon-chain.${network}.dncore.dappnode:3500`;
}

const { blockExplorerUrl, minGenesisTime, secondsPerSlot, slotsPerEpoch } = networkConfig(network);
Expand All @@ -49,7 +39,7 @@ export const brainConfig = (): BrainConfig => {
blockExplorerUrl,
executionClientUrl: `http://execution.${network}.dncore.dappnode:8545`,
validatorUrl,
beaconchainUrl,
beaconchainUrl: `http:/beacon-chain.${network}.dncore.dappnode:3500`,
signerUrl: `http://signer.${network}.dncore.dappnode:9000`,
postgresUrl: getPostgresUrl(network),
token: getValidatorToken(consensusClient),
Expand Down

0 comments on commit 927e6cb

Please sign in to comment.