From bbf1643440fa270aca79755f6ebd7a7c64a4ad52 Mon Sep 17 00:00:00 2001 From: Kartiiyer12 Date: Tue, 16 Jul 2024 16:44:25 +0200 Subject: [PATCH] Added slot point so that ogmios does not start from origin, instead start just before the asset minting started. --- packages/api-cardano-db-hasura/src/ChainFollower.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/api-cardano-db-hasura/src/ChainFollower.ts b/packages/api-cardano-db-hasura/src/ChainFollower.ts index ab9dc3b0..65b10cab 100644 --- a/packages/api-cardano-db-hasura/src/ChainFollower.ts +++ b/packages/api-cardano-db-hasura/src/ChainFollower.ts @@ -126,6 +126,11 @@ export class ChainFollower { } this.logger.info({ module: MODULE_NAME }, 'Starting') await this.queue.start() + //slot added so that ogmios does not start from origin, instead start just before the asset minting started + points = [{ + slot: 23068800, + id: "a650a3f398ba4a9427ec8c293e9f7156d81fd2f7ca849014d8d2c1156c359b3a" + }]; await this.chainSyncClient.resume(points) this.state = 'running' this.logger.info({ module: MODULE_NAME }, 'Started')