Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Conversation

@jmoreira-valory
Copy link
Collaborator

Use GQL for mech events

MECH_EVENTS_SUBGRAPH_QUERY_TEMPLATE = Template(
"""
query {
query mech_events_subgraph_query($sender: Bytes, $id_gt: Bytes, $first: Int) {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need types here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Those types are part of the query sent to the Graph. I am unsure if they are strictly necessary, but keeping them does not harm in any case.

@jmoreira-valory jmoreira-valory force-pushed the fix/use_gql_for_mech_events branch from 067eaa9 to eca8d16 Compare November 28, 2024 09:56
@jmoreira-valory jmoreira-valory changed the base branch from develop to main November 28, 2024 09:56
Copy link
Collaborator

@dagacha dagacha left a comment

Choose a reason for hiding this comment

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

Tested - LGTM

@jmoreira-valory jmoreira-valory merged commit c44f726 into main Nov 28, 2024
@DavidMinarsch DavidMinarsch deleted the fix/use_gql_for_mech_events branch February 5, 2025 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants