Skip to content

Commit

Permalink
Allow partial fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ktl-XV committed Jan 18, 2024
1 parent f78b630 commit a891138
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/scripts/pull_and_save_block_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,7 @@ export class BlockEventsScraper {
);

const newBlocks = await web3Source.getBatchBlockInfoAsync(blockNumbers, true);
const success = await getParseSaveBlocksTransactionsEvents(
connection,
producer,
newBlocks,
allowPartialSuccess,
);
const success = await getParseSaveBlocksTransactionsEvents(connection, producer, newBlocks, false);
if (success) {
const queryRunner = connection.createQueryRunner();
await queryRunner.connect();
Expand Down

0 comments on commit a891138

Please sign in to comment.