Skip to content

Commit

Permalink
fix: update account after internal tx job
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Aug 2, 2024
1 parent eacf330 commit c046f76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/services/evm/crawl_evm_account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export default class CrawlEvmAccountService extends BullableService {
const [startBlock, endBlock, blockCheckpoint] =
await BlockCheckpoint.getCheckpoint(
BULL_JOB_NAME.CRAWL_EVM_ACCOUNT,
[BULL_JOB_NAME.CRAWL_EVM_TRANSACTION],
[
BULL_JOB_NAME.CRAWL_EVM_TRANSACTION,
BULL_JOB_NAME.EVM_CRAWL_INTERNAL_TX,
],
config.crawlTransaction.key
);
this.logger.info(
Expand Down
5 changes: 1 addition & 4 deletions src/services/evm/crawl_evm_event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ export default class CrawlEvmEventJob extends BullableService {
const [startBlock, endBlock, jobCheckpointUpdate] =
await BlockCheckpoint.getCheckpoint(
BULL_JOB_NAME.JOB_CRAWL_EVM_EVENT,
[
BULL_JOB_NAME.HANDLE_TRANSACTION_EVM,
BULL_JOB_NAME.EVM_CRAWL_INTERNAL_TX,
],
[BULL_JOB_NAME.HANDLE_TRANSACTION_EVM],
'jobCrawlEvmEvent'
);

Expand Down

0 comments on commit c046f76

Please sign in to comment.