Skip to content

Commit

Permalink
refactor: update execution client state change logs (#5771)
Browse files Browse the repository at this point in the history
* Update execution client state change message

* Use warn instead of info if execution client is syncing
  • Loading branch information
nflaig authored Jul 20, 2023
1 parent 2c6ef6b commit 4e6408a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/beacon-node/src/execution/engine/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,19 +440,19 @@ export class ExecutionEngineHttp implements IExecutionEngine {

switch (newState) {
case ExecutionEngineState.ONLINE:
this.logger.info("ExecutionEngine became online");
this.logger.info("Execution client became online");
break;
case ExecutionEngineState.OFFLINE:
this.logger.error("ExecutionEngine went offline");
this.logger.error("Execution client went offline");
break;
case ExecutionEngineState.SYNCED:
this.logger.info("ExecutionEngine is synced");
this.logger.info("Execution client is synced");
break;
case ExecutionEngineState.SYNCING:
this.logger.info("ExecutionEngine is syncing");
this.logger.warn("Execution client is syncing");
break;
case ExecutionEngineState.AUTH_FAILED:
this.logger.error("ExecutionEngine authentication failed");
this.logger.error("Execution client authentication failed");
break;
}

Expand Down

0 comments on commit 4e6408a

Please sign in to comment.