Skip to content

Commit a896ec8

Browse files
feat(graph): update to new v of network subgraph (#1256)
chore: fix ordering --------- Co-authored-by: Carlos Jorge <carlos@graphops.xyz>
1 parent 3a0d0ff commit a896ec8

File tree

16 files changed

+265
-331
lines changed

16 files changed

+265
-331
lines changed

arbitrum/helmfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"one","one":{"targetNamespace":"arbitrum-one","scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}},"features":["proxyd-classic","proxyd-nitro","arbitrum-classic","arbitrum-nitro"]},"common":{"scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}}},"sepolia":{"targetNamespace":"arbitrum-sepolia","scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}},"features":["proxyd-nitro","arbitrum-nitro"]}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}}},"flavor":"one","one":{"scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}},"targetNamespace":"arbitrum-one","features":["proxyd-classic","proxyd-nitro","arbitrum-classic","arbitrum-nitro"]},"sepolia":{"scaling":{"deployments":1,"arbitrum-classic":{},"arbitrum-nitro":{}},"targetNamespace":"arbitrum-sepolia","features":["proxyd-nitro","arbitrum-nitro"]}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "one" }}
@@ -155,8 +155,8 @@ repositories:
155155

156156
templates:
157157
defaults:
158-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
159158
missingFileHandler: Warn
159+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
160160

161161
arbitrum-nitro:
162162
{{- if ( .Values | get "arbitrum-nitro" dict | get "chartUrl" false ) }}

celo/helmfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"mainnet","mainnet":{"targetNamespace":"celo-mainnet","features":["proxyd"],"scaling":{"deployments":1,"celo":{}}},"alfajores":{"targetNamespace":"celo-alfajores","features":["proxyd"],"scaling":{"deployments":1,"celo":{}}},"common":{"features":["proxyd"],"scaling":{"deployments":1,"celo":{}}},"baklava":{"targetNamespace":"celo-baklava","features":["proxyd"],"scaling":{"deployments":1,"celo":{}}}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["proxyd"],"scaling":{"deployments":1,"celo":{}}},"flavor":"mainnet","mainnet":{"features":["proxyd"],"scaling":{"deployments":1,"celo":{}},"targetNamespace":"celo-mainnet"},"alfajores":{"features":["proxyd"],"scaling":{"deployments":1,"celo":{}},"targetNamespace":"celo-alfajores"},"baklava":{"features":["proxyd"],"scaling":{"deployments":1,"celo":{}},"targetNamespace":"celo-baklava"}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "mainnet" }}
@@ -155,8 +155,8 @@ repositories:
155155

156156
templates:
157157
defaults:
158-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
159158
missingFileHandler: Warn
159+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
160160

161161
celo:
162162
{{- if ( .Values | get "celo" dict | get "chartUrl" false ) }}

ethereum/helmfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"mainnet","mainnet":{"targetNamespace":"eth-mainnet","features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}},"goerli":{"targetNamespace":"eth-goerli","features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}},"holesky":{"targetNamespace":"eth-holesky","features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}},"common":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}},"sepolia":{"targetNamespace":"eth-sepolia","features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}}},"flavor":"mainnet","mainnet":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}},"targetNamespace":"eth-mainnet"},"goerli":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}},"targetNamespace":"eth-goerli"},"holesky":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}},"targetNamespace":"eth-holesky"},"sepolia":{"features":["nimbus","proxyd"],"scaling":{"deployments":1,"erigon":{},"nimbus":{}},"targetNamespace":"eth-sepolia"}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "mainnet" }}
@@ -155,8 +155,8 @@ repositories:
155155

156156
templates:
157157
defaults:
158-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
159158
missingFileHandler: Warn
159+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
160160

161161
erigon:
162162
{{- if ( .Values | get "erigon" dict | get "chartUrl" false ) }}

gnosis/helmfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"mainnet","mainnet":{"targetNamespace":"gnosis-mainnet","features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"common":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"chiado":{"targetNamespace":"gnosis-chiado","features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"flavor":"mainnet","mainnet":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}},"targetNamespace":"gnosis-mainnet"},"chiado":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}},"targetNamespace":"gnosis-chiado"}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "mainnet" }}
@@ -155,8 +155,8 @@ repositories:
155155

156156
templates:
157157
defaults:
158-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
159158
missingFileHandler: Warn
159+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
160160

161161
erigon:
162162
{{- if ( .Values | get "erigon" dict | get "chartUrl" false ) }}

graph/helmfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#namespace defaults
2-
{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"arbitrum-one","arbitrum-one":{"targetNamespace":"graph-arbitrum-one","features":["node","network-indexer","toolbox","database","subgraph-radio"]},"common":{"features":["node","network-indexer","toolbox","database","subgraph-radio"]},"arbitrum-sepolia":{"targetNamespace":"graph-arbitrum-sepolia","features":["node","network-indexer","toolbox","database","subgraph-radio"]}}` | fromJson ) }}
2+
{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["node","network-indexer","toolbox","database","subgraph-radio"]},"flavor":"arbitrum-one","arbitrum-one":{"features":["node","network-indexer","toolbox","database","subgraph-radio"],"targetNamespace":"graph-arbitrum-one"},"arbitrum-sepolia":{"features":["node","network-indexer","toolbox","database","subgraph-radio"],"targetNamespace":"graph-arbitrum-sepolia"}}` | fromJson ) }}
33
#set default flavor when missing
44
{{ if not ( hasKey .Values "flavor" ) }}
55
{{ $_ := set .Values "flavor" "arbitrum-one" }}
@@ -143,8 +143,8 @@ repositories:
143143

144144
templates:
145145
defaults:
146-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
147146
missingFileHandler: Warn
147+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
148148

149149
graph-node:
150150
{{- if ( .Values | get "graph-node" dict | get "chartUrl" false ) }}

graph/values/arbitrum-one/graph-network-indexer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
indexerDefaults:
44
config:
55
subgraphs.network:
6-
query_url: "http://graph-node-query:8000/subgraphs/id/QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv"
7-
deployment_id: QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv
6+
query_url: "http://graph-node-query:8000/subgraphs/id/QmdKXcBUHR3UyURqVRQHu1oV6VUkBrhi2vNvMx3bNDnUCc"
7+
deployment_id: QmdKXcBUHR3UyURqVRQHu1oV6VUkBrhi2vNvMx3bNDnUCc
88

99
subgraphs.escrow:
1010
query_url: "http://graph-node-query:8000/subgraphs/id/QmUhiH6Z5xo6o3GNzsSvqpGKLmCt6w5WzKQ1yHk6C8AA8S"
@@ -25,4 +25,4 @@ indexerAgent:
2525
epoch-subgraph-endpoint: http://graph-node-query:8000/subgraphs/id/QmW26TG5s9myd1gzio9fkgVHEEjZ7u5ktWDpkNePzbusNo
2626
ethereum: http://proxyd-nitro-proxyd.arbitrum-one:8545
2727
ethereum-network: arbitrum-one
28-
offchain-subgraphs: "QmW26TG5s9myd1gzio9fkgVHEEjZ7u5ktWDpkNePzbusNo,QmUhiH6Z5xo6o3GNzsSvqpGKLmCt6w5WzKQ1yHk6C8AA8S,QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv"
28+
offchain-subgraphs: "QmW26TG5s9myd1gzio9fkgVHEEjZ7u5ktWDpkNePzbusNo,QmUhiH6Z5xo6o3GNzsSvqpGKLmCt6w5WzKQ1yHk6C8AA8S,QmdKXcBUHR3UyURqVRQHu1oV6VUkBrhi2vNvMx3bNDnUCc"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
env:
22
GRAPHCAST_NETWORK: "mainnet"
33
REGISTRY_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmTiai398HETp6qKhMph6t8bZihgTTaRG3roKEYDG5CCN7"
4-
NETWORK_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmUzRg2HHMpbgf6Q4VHKNDbtBEJnyp5JWCh2gUX9AV6jXv"
4+
NETWORK_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmdKXcBUHR3UyURqVRQHu1oV6VUkBrhi2vNvMx3bNDnUCc"

graph/values/arbitrum-sepolia/graph-network-indexer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
indexerDefaults:
44
config:
55
subgraphs.network:
6-
query_url: "http://graph-node-query:8000/subgraphs/id/QmbGVqFCqgh83NpW4kHFAJuE9mAbVfhXdY59NrevSCaCeN"
7-
deployment_id: QmbGVqFCqgh83NpW4kHFAJuE9mAbVfhXdY59NrevSCaCeN
6+
query_url: "http://graph-node-query:8000/subgraphs/id/QmRRKcjRN9BP51SEecq2AM1VXqjoS939ApE1mE4KtcZZtT"
7+
deployment_id: QmRRKcjRN9BP51SEecq2AM1VXqjoS939ApE1mE4KtcZZtT
88

99
subgraphs.escrow:
1010
query_url: "http://graph-node-query:8000/subgraphs/id/QmUiLdbsk6c51UMdcNBxsP3KadJpkmp6a3k2NCprR4ZFeM"
@@ -24,4 +24,4 @@ indexerAgent:
2424
epoch-subgraph-endpoint: http://graph-node-query:8000/subgraphs/id/Qmez8QWAHHBDCb5bsAZdBuWLwB42PH24WrgifB89gLisW7
2525
ethereum: http://proxyd-nitro-proxyd.arbitrum-sepolia:8545
2626
ethereum-network: arbitrum-sepolia
27-
offchain-subgraphs: "Qmez8QWAHHBDCb5bsAZdBuWLwB42PH24WrgifB89gLisW7,QmUiLdbsk6c51UMdcNBxsP3KadJpkmp6a3k2NCprR4ZFeM,QmbGVqFCqgh83NpW4kHFAJuE9mAbVfhXdY59NrevSCaCeN"
27+
offchain-subgraphs: "Qmez8QWAHHBDCb5bsAZdBuWLwB42PH24WrgifB89gLisW7,QmUiLdbsk6c51UMdcNBxsP3KadJpkmp6a3k2NCprR4ZFeM,QmRRKcjRN9BP51SEecq2AM1VXqjoS939ApE1mE4KtcZZtT"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
env:
22
GRAPHCAST_NETWORK: "testnet"
33
REGISTRY_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmQq6gJJnwkpdkfudVquJXPjALv11FarGwgeErQuBHXAYR"
4-
NETWORK_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmbGVqFCqgh83NpW4kHFAJuE9mAbVfhXdY59NrevSCaCeN"
4+
NETWORK_SUBGRAPH: "http://graph-node-query:8000/subgraphs/id/QmRRKcjRN9BP51SEecq2AM1VXqjoS939ApE1mE4KtcZZtT"
55

ingress/helmfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ repositories:
143143

144144
templates:
145145
defaults:
146-
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
147146
missingFileHandler: Warn
147+
namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}'
148148

149149
ingress-nginx:
150150
{{- if ( .Values | get "ingress-nginx" dict | get "chartUrl" false ) }}

0 commit comments

Comments
 (0)