Skip to content

Add graph-indexed header#5710

Merged
Theodus merged 1 commit into
masterfrom
theodus/block-info
Nov 25, 2024
Merged

Add graph-indexed header#5710
Theodus merged 1 commit into
masterfrom
theodus/block-info

Conversation

@Theodus

@Theodus Theodus commented Nov 20, 2024

Copy link
Copy Markdown
Member

This adds a graph-indexed header to query responses. The header value contains the block hash, number, and timestamp for the most recently processed block in the subgraph. This avoids the need to rewrite all queries to include _meta { block { hash number timestamp } } in either the indexer-service or gateway.

Related: edgeandnode/gateway#900, graphprotocol/indexer-rs#494

@Theodus Theodus merged commit 4ff59df into master Nov 25, 2024
@Theodus Theodus deleted the theodus/block-info branch November 25, 2024 17:19
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.

2 participants