Skip to content

Commit

Permalink
colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
JSHan94 committed Dec 19, 2023
1 parent c26be80 commit 0dac345
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bots/src/lib/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class RPCSocket {
// no responsed more than 3 minutes, it is down
if (this.isAlive && Date.now() - this.alivedAt > 3 * 60 * 1000) {
const msg = `${this.constructor.name} is no response!`;
this.logger.warn(msg);
this.logger.info(msg);
this.isAlive = false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions bots/src/worker/challenger/challenger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class Challenger {

if (!depositFinalizeTxFromChallenger) {
this.missCount += 1;
this.logger.warn(
this.logger.info(
`[L1 Challenger] deposit tx with sequence "${this.l1DepositSequenceToCheck}" is not finialized`
);
if (this.missCount <= THRESHOLD_MISS_INTERVAL || !lastOutputInfo) {
Expand Down Expand Up @@ -235,7 +235,7 @@ export class Challenger {
);
return outputInfo.output_proposal.output_root;
} catch (err) {
logger.warn(
logger.info(
`[L2 Challenger] waiting for submitting output root in output index ${outputIndex}`
);
return null;
Expand Down
2 changes: 1 addition & 1 deletion bots/src/worker/outputSubmitter/outputSubmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class OutputSubmitter {
});
} catch (err) {
if (err.response?.data.type === ErrorTypes.NOT_FOUND_ERROR) {
logger.warn(
logger.info(
`waiting for output index: ${this.syncedOutputIndex}, processed block number: ${this.processedBlockNumber}`
);
await delay(INTERVAL_OUTPUT);
Expand Down

0 comments on commit 0dac345

Please sign in to comment.