diff --git a/src/index.ts b/src/index.ts index 9e8ff59..5d2af65 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ import axios from "axios"; const EXECUTION_RPC_URL = "https://rpc.ankr.com/eth"; -const CONSENSUS_RPC_URL = "https://lodestar-mainnet.chainsafe.io"; +const CONSENSUS_RPC_URL = "http://nimbus-mainnet.commonprefix.com"; interface ExecutionRequest { method: string; @@ -61,10 +61,6 @@ const plugin: Plugin = { api.registerMethod("consensus_optimistic_update", { cacheable: false, async handler(): Promise { - if (!client.isSynced) { - await client.sync(); - } - let execInfo = await client.getLatestExecution(); if (!execInfo) {