From e414b71d1a81ca6824565dd91bbaf28936969ac7 Mon Sep 17 00:00:00 2001 From: Kartiiyer12 <106822766+Kartiiyer12@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:02:11 +0100 Subject: [PATCH] Added slot point so that ogmios does not start from origin, instead start just before the asset minting started. (#880) Thanks @Kartiiyer12 I'll use this in my bump for Node 9.0 --- 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')