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

fix: use subgraph timestamp for tap #995

Merged
merged 6 commits into from
Sep 4, 2024
Merged
Changes from 1 commit
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
6 changes: 5 additions & 1 deletion packages/indexer-common/src/allocations/query-fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,11 @@ export class AllocationReceiptCollector implements ReceiptCollector {
),
},
)
return response.data!
if (!response.data) {
carlosvdr marked this conversation as resolved.
Show resolved Hide resolved
throw `There was an error while querying Tap Subgraph. Errors: ${response.error}`
}

return response.data
}

// for every allocation_id of this list that contains the redeemedAt less than the current
Expand Down
Loading