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

Create LogMetadata GraphQL type #50

Open
tkporter opened this issue Mar 21, 2023 · 0 comments
Open

Create LogMetadata GraphQL type #50

tkporter opened this issue Mar 21, 2023 · 0 comments
Labels

Comments

@tkporter
Copy link
Collaborator

tkporter commented Mar 21, 2023

See https://github.com/hyperlane-xyz/fuel-contracts/pull/39/files#diff-323ebea0162f6cd6961ea4e84063a930f4b0e819e196f4fe2488855a18463616R26. Previously, querying nested objects couldn't be done in a single query, so for now log metadata & message info is shoved into a single GraphQL type.

This seems to be fixed by FuelLabs/fuel-indexer#622, but was only just included in the indexer v0.5.0 which hasn't been shipped yet via fuelup. Once it's shipped via fuelup, let's make the change

Concretely:

  • Change the GraphQL schema in the indexer such that the metadata is ripped out of the HyperlaneMessage type, into its own LogMetadata type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant