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: remove irrelevant fields from deployment queries #70

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

Jannis
Copy link
Collaborator

@Jannis Jannis commented Oct 17, 2023

We may need to add these back later for other purposes, but indexer-service does not need these fields; the only reason it queries allocations is to create attestation signers for them.

There might be even more fields that we could remove. However, signalled_tokens in particular is necessary at the moment because there is buggy data in the real-world network subgraph where the field is negative sometimes. That breaks U256 parsing. Since we don't need this and the other fields, I thought it best to remove them.

We may need to add these back later for other purposes, but
indexer-service does not need these fields; the only reason
it queries allocations is to create attestation signers for
them.

There might be even more fields that we could remove. However,
signalled_tokens in particular is necessary at the moment because
there is buggy data in the real-world network subgraph where the
field is negative sometimes. That breaks U256 parsing. Since
we don't need this and the other fields, I thought it best to
remove them.
@hopeyen hopeyen self-requested a review October 17, 2023 21:24
Copy link
Collaborator

@hopeyen hopeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm👍

@Jannis Jannis merged commit 56b82ef into main Oct 17, 2023
4 checks passed
@Jannis Jannis deleted the jannis/fix-deployment-queries branch October 17, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants