From a8911381fe4538d6a3f063b6d6ed03cefd11401b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20P=C3=A9rez?= Date: Thu, 18 Jan 2024 12:50:22 +0100 Subject: [PATCH] Allow partial fetch --- src/scripts/pull_and_save_block_events.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/scripts/pull_and_save_block_events.ts b/src/scripts/pull_and_save_block_events.ts index ff6d21a6..da1e96e6 100644 --- a/src/scripts/pull_and_save_block_events.ts +++ b/src/scripts/pull_and_save_block_events.ts @@ -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();