Skip to content

Commit aef91a0

Browse files
authored
Merge fbf2469 into aaac34a
2 parents aaac34a + fbf2469 commit aef91a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/beacon-node/src/node/notifier.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ export async function runNodeNotifier(modules: NodeNotifierModules): Promise<voi
5454
const clockSlot = chain.clock.currentSlot;
5555
const clockEpoch = computeEpochAtSlot(clockSlot);
5656

57-
if (
58-
clockEpoch >= config.BELLATRIX_FORK_EPOCH &&
59-
computeStartSlotAtEpoch(clockEpoch) === clockSlot &&
60-
chain.executionEngine.state === ExecutionEngineState.OFFLINE
61-
) {
62-
logger.warn("Execution client is offline");
57+
if (clockEpoch >= config.BELLATRIX_FORK_EPOCH && computeStartSlotAtEpoch(clockEpoch) === clockSlot) {
58+
if (chain.executionEngine.state === ExecutionEngineState.OFFLINE) {
59+
logger.warn("Execution client is offline");
60+
} else if (chain.executionEngine.state === ExecutionEngineState.AUTH_FAILED) {
61+
logger.error("Execution client authentication failed. Verify if the JWT secret matches on both clients");
62+
}
6363
}
6464

6565
const headInfo = chain.forkChoice.getHead();

0 commit comments

Comments
 (0)