Skip to content

Commit

Permalink
Added slot point so that ogmios does not start from origin, instead s…
Browse files Browse the repository at this point in the history
…tart just before the asset minting started. (#880)

Thanks @Kartiiyer12 I'll use this in my bump for Node 9.0
  • Loading branch information
Kartiiyer12 authored Jul 16, 2024
1 parent 449ccc5 commit e414b71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/api-cardano-db-hasura/src/ChainFollower.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 129 in packages/api-cardano-db-hasura/src/ChainFollower.ts

View workflow job for this annotation

GitHub Actions / build

Expected space or tab after '//' in comment
points = [{

Check failure on line 130 in packages/api-cardano-db-hasura/src/ChainFollower.ts

View workflow job for this annotation

GitHub Actions / build

Trailing spaces not allowed
slot: 23068800,
id: "a650a3f398ba4a9427ec8c293e9f7156d81fd2f7ca849014d8d2c1156c359b3a"

Check failure on line 132 in packages/api-cardano-db-hasura/src/ChainFollower.ts

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
}];

Check failure on line 133 in packages/api-cardano-db-hasura/src/ChainFollower.ts

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 3

Check failure on line 133 in packages/api-cardano-db-hasura/src/ChainFollower.ts

View workflow job for this annotation

GitHub Actions / build

Extra semicolon
await this.chainSyncClient.resume(points)
this.state = 'running'
this.logger.info({ module: MODULE_NAME }, 'Started')
Expand Down

0 comments on commit e414b71

Please sign in to comment.