Skip to content

Commit 272e9f1

Browse files
committed
fix: address feedback from Subgraph Indexing Registration PR
1 parent de56491 commit 272e9f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

schema.graphql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,15 @@ type Operator @entity {
858858
allowed: Boolean!
859859
}
860860

861+
862+
"""
863+
For the Horizon Stage 1 subgraph, the Provision entity will be mimicking the Indexer entity as closely as possible.
864+
That means that the Provision entity will contain some fields that are particular for the Subgraph Service, even if in Horizon
865+
a Provision could be for a different Data Service from the Subgraph Service.
866+
This is to make the data closer to the legacy protocol, given that the Subgraph Service will be the first Data Service to be supported
867+
868+
Once the Stage 2 subgraph is implemented, the Provision entity will have to be more generic, and particular data service fields will need to be restructured.
869+
"""
861870
type Provision @entity {
862871
"Join ID of indexer address (service provider) and DataService address"
863872
id: ID!

0 commit comments

Comments
 (0)