Skip to content

Commit

Permalink
Merge pull request #5326 from connext/take-highest-value-to-prod
Browse files Browse the repository at this point in the history
feat: take highest value to prod
  • Loading branch information
wanglonghong authored Dec 12, 2023
2 parents 511b085 + 1079a72 commit 4fb5d1e
Show file tree
Hide file tree
Showing 15 changed files with 174,502 additions and 139,143 deletions.
107,439 changes: 54,886 additions & 52,553 deletions packages/adapters/subgraph/.graphclient/index.ts

Large diffs are not rendered by default.

96,699 changes: 49,461 additions & 47,238 deletions packages/adapters/subgraph/.graphclient/schema.graphql

Large diffs are not rendered by default.

27,662 changes: 16,598 additions & 11,064 deletions packages/adapters/subgraph/.graphclient/sources/Connext_Goerli/introspectionSchema.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

27,662 changes: 16,598 additions & 11,064 deletions packages/adapters/subgraph/.graphclient/sources/Connext_Mumbai/introspectionSchema.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

22,024 changes: 15,897 additions & 6,127 deletions packages/adapters/subgraph/.graphclient/sources/Hub_Goerli/introspectionSchema.ts

Large diffs are not rendered by default.

Large diffs are not rendered by default.

788 changes: 786 additions & 2 deletions packages/adapters/subgraph/.graphclient/sources/Hub_Goerli/types.ts

Large diffs are not rendered by default.

96 changes: 88 additions & 8 deletions packages/adapters/subgraph/.graphclientrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,17 @@ sources:
- name: Connext_LineaGoerli
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: "https://graph-query.goerli.linea.build/subgraphs/name/connext/amarok-runtime-v0-linea-goerli"
retry: 2
Expand Down Expand Up @@ -343,7 +353,17 @@ sources:
- name: Connext_Mainnet
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: "https://gateway.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/DfD1tZSmDtjCGC2LeYEQbVzj9j8kNqKAQEsYL27Vg6Sw"
retry: 2
Expand All @@ -363,7 +383,17 @@ sources:
- name: Connext_Optimism
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-optimism
retry: 2
Expand All @@ -383,7 +413,17 @@ sources:
- name: Connext_Polygon
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: "https://gateway.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/6NccoNRo22DgB7oCHaG7U5MxvfYXcCERRN1oVtCWm32x"
retry: 5
Expand All @@ -403,7 +443,17 @@ sources:
- name: Connext_ArbitrumOne
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: "https://gateway.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/DNQfRxJou184r5YagTz9HUQST5URsY2WdYkegH9Rrdkf"
retry: 5
Expand All @@ -423,7 +473,17 @@ sources:
- name: Connext_Bnb
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-bnb
retry: 2
Expand All @@ -443,7 +503,17 @@ sources:
- name: Connext_Xdai
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
#- endpoint: "https://gateway.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/EdS5b1Zbw8A5KHs4JRnWDKdM5K2Hnq97UuE8RG9b61Ey"
# retry: 2
Expand All @@ -467,7 +537,17 @@ sources:
- name: Connext_Linea
handler:
graphql:
strategy: fallback
strategy: highestValue
strategyConfig:
selectionSet: |
{
_meta {
block {
number
}
}
}
value: "_meta.block.number"
sources:
- endpoint: "https://graph-query.linea.build/subgraphs/name/connext/amarok-runtime-v0-linea"
retry: 2
Expand Down

0 comments on commit 4fb5d1e

Please sign in to comment.