Skip to content

Commit 25502a2

Browse files
authored
chore(network-contracts): Descriptive network id name for dev2 (#1012)
Using `dev2` instead of `xDai` for the docker-dev subgraph definition file ## Future improvements Rename `subgraph.yaml` to `subgraph_dev2.yaml` if possible? Or refactor subgraph yaml files so that we don't need multiple config files with significant amount of code duplication.
1 parent fc64b4f commit 25502a2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

packages/network-subgraphs/subgraph.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ features:
1111
dataSources:
1212
- kind: ethereum/contract
1313
name: StreamRegistry
14-
network: xDai
14+
network: dev2
1515
source:
1616
address: "0xd04af489677001444280366Dd0885B03dAaDe71D"
1717
abi: StreamRegistry
@@ -40,7 +40,7 @@ dataSources:
4040
file: ./src/streamRegistry.ts
4141
- kind: ethereum/contract
4242
name: NodeRegistry
43-
network: xDai
43+
network: dev2
4444
source:
4545
address: "0xCBAcfA0592B3D809aEc805d527f8ceAe9307D9C0"
4646
abi: NodeRegistry
@@ -62,7 +62,7 @@ dataSources:
6262
file: ./src/nodeRegistry.ts
6363
- kind: ethereum/contract
6464
name: StreamStorageRegistry
65-
network: xDai
65+
network: dev2
6666
source:
6767
address: "0xB9372284e0D61607aF3B7EF5f022e7D599Ed2a37"
6868
abi: StreamStorageRegistry
@@ -84,7 +84,7 @@ dataSources:
8484
file: ./src/streamStorageRegistry.ts
8585
- kind: ethereum/contract
8686
name: ProjectRegistryV1
87-
network: xDai # xDai means dev1
87+
network: dev2
8888
source:
8989
address: "0x3523F6Ff285D2A3F79A53d1E0953BD41bb7f6022"
9090
abi: ProjectRegistryV1
@@ -119,7 +119,7 @@ dataSources:
119119
file: ./src/projectRegistry.ts
120120
- kind: ethereum/contract
121121
name: MarketplaceV4
122-
network: xDai
122+
network: dev2
123123
source:
124124
address: "0x8015bb1954FaF2A6109F5c41b2086B250A6769A0"
125125
abi: MarketplaceV4
@@ -140,7 +140,7 @@ dataSources:
140140
file: ./src/marketplaceV4.ts
141141
- kind: ethereum/contract
142142
name: ProjectStakingV1
143-
network: xDai
143+
network: dev2
144144
source:
145145
address: "0x3Dd18E5E8C4f6291Db26795CC154918f7Ac1D875"
146146
abi: ProjectStakingV1
@@ -166,7 +166,7 @@ dataSources:
166166
file: ./src/projectStaking.ts
167167
- kind: ethereum/contract
168168
name: StreamrConfig
169-
network: xDai
169+
network: dev2
170170
source:
171171
address: '0xc24BA8c05E5206F1bE57bfA0aD14E9882126eD38'
172172
abi: StreamrConfig
@@ -186,7 +186,7 @@ dataSources:
186186
handler: handleConfigChanged
187187
- kind: ethereum/contract
188188
name: SponsorshipFactory
189-
network: xDai
189+
network: dev2
190190
source:
191191
# make sure this is same as config.contracts.SponsorshipFactory in https://github.com/streamr-dev/network-contracts/blob/develop/packages/config/src/networks.json
192192
address: '0xbfa4EcF9d107De5720446e6dd8162ef6bf4b3873'
@@ -211,7 +211,7 @@ dataSources:
211211
handler: handleNewSponsorship
212212
- kind: ethereum/contract
213213
name: OperatorFactory
214-
network: xDai
214+
network: dev2
215215
source:
216216
# make sure this is same as config.contracts.OperatorFactory in https://github.com/streamr-dev/network-contracts/blob/develop/packages/config/src/networks.json
217217
address: '0x3AE0ad89b0e094fD09428589849C161f0F7f4E6A'
@@ -239,7 +239,7 @@ dataSources:
239239
templates:
240240
- name: Sponsorship
241241
kind: ethereum/contract
242-
network: xDai
242+
network: dev2
243243
source:
244244
abi: Sponsorship
245245
mapping:
@@ -281,7 +281,7 @@ templates:
281281
handler: handleSponsorshipReceived
282282
- name: Operator
283283
kind: ethereum/contract
284-
network: xDai
284+
network: dev2
285285
source:
286286
abi: Operator
287287
mapping:

0 commit comments

Comments
 (0)