Skip to content

Commit

Permalink
add job resolver logs (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
defi-dev authored Jul 1, 2024
1 parent 0b9988e commit 76972c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ export class Network {
? ethers.utils.defaultAbiCoder.decode(['bool', 'bytes'], results[i].returnData)
: [false];
const { jobKey } = resolversToCall[i];
this.clog('debug', `CallResolvers: Job ${jobKey} resolver returned: ${decoded[0]}`);
const job = this.resolverJobData[jobKey];
if (this.latestBlockNumber > job.lastSuccessBlock) {
job.lastSuccessBlock = decoded[0] ? this.latestBlockNumber : 0n;
Expand Down

0 comments on commit 76972c8

Please sign in to comment.