This seems to be fixed by https://github.com/FuelLabs/fuel-indexer/pull/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
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 https://github.com/FuelLabs/fuel-indexer/pull/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:
LogMetadata
type