Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ogmios slot point so that chain follower can start when the asset mint starts #880

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
}
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
Loading