Skip to content

Commit

Permalink
fix: add some logs about liquidation
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Jan 22, 2024
1 parent 12b32e7 commit 331ae3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/services/keyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class KeyService {

if (!config.optimisticLiquidations) {
await this._recoverWallets();
this.log.info(`executors: ${this._executors.map(e => e.address)}`);
for (let ex of this._executors) {
await this.returnExecutor(ex.address);
}
Expand Down
1 change: 1 addition & 0 deletions src/services/liquidate/LiquidatorServiceV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class LiquidatorServiceV2
calls,
optimistic ? { gasLimit: 29e6 } : {},
);
console.log(`tx hash: ${tx.hash}`);
return tx;
}

Expand Down
1 change: 1 addition & 0 deletions src/services/liquidate/LiquidatorServiceV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class LiquidatorServiceV3
calls,
optimistic ? { gasLimit: 29e6 } : {},
);
this.log.debug(`tx hash: ${tx.hash}`);
return tx;
}

Expand Down

0 comments on commit 331ae3d

Please sign in to comment.