Skip to content

Commit

Permalink
[PINAX-264] update substreams-sink to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Blanchette committed Nov 15, 2023
1 parent e8a1669 commit 2361781
Show file tree
Hide file tree
Showing 4 changed files with 429 additions and 428 deletions.
3 changes: 1 addition & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export interface ActionOptions extends commander.RunOptions {
port: number;
scrapeInterval: number;
labels: Object;
collectDefaultMetrics: boolean;
manifest: string
}

Expand All @@ -39,7 +38,7 @@ export async function action(options: ActionOptions) {
logger.info("download", options.manifest, hash);

// Run substreams
const { emitter } = await setup(options, pkg);
const { emitter } = await setup(options);
emitter.on("anyMessage", (messages, _cursor, clock) => {
handleImport(url, scrapeInterval, clock);
handleOperations(messages as any);
Expand Down
Loading

0 comments on commit 2361781

Please sign in to comment.