Skip to content

Commit fc64b4f

Browse files
authored
chore(network-subgraphs): Exact startBlock values for Polygon (#1011)
Update startBlock values to have values corresponding the contract creation block. Obviously there can't exist any contract events before those blocks. ## Other changes - Renames `subgraph_matic.yaml` to `subgraph_polygon.yaml` to match the current name of the chain - removed some obsolete comments
1 parent 71b86bb commit fc64b4f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

packages/network-subgraphs/subgraph_matic.yaml renamed to packages/network-subgraphs/subgraph_polygon.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dataSources:
1515
source:
1616
address: "0x0D483E10612F327FC11965Fc82E90dC19b141641"
1717
abi: StreamRegistry
18-
startBlock: 23586970
18+
startBlock: 23586971
1919
mapping:
2020
kind: ethereum/events
2121
apiVersion: 0.0.6
@@ -44,7 +44,7 @@ dataSources:
4444
source:
4545
address: "0x080F34fec2bc33928999Ea9e39ADc798bEF3E0d6"
4646
abi: NodeRegistry
47-
startBlock: 23562860
47+
startBlock: 23562861
4848
mapping:
4949
kind: ethereum/events
5050
apiVersion: 0.0.6
@@ -66,7 +66,7 @@ dataSources:
6666
source:
6767
address: "0xe8e2660CeDf2a59C917a5ED05B72df4146b58399"
6868
abi: StreamStorageRegistry
69-
startBlock: 23586997
69+
startBlock: 23586998
7070
mapping:
7171
kind: ethereum/events
7272
apiVersion: 0.0.6
@@ -88,7 +88,7 @@ dataSources:
8888
source:
8989
address: "0x496a6154da5aA6a021a3bd0DCd337DA80F48a6e1"
9090
abi: ProjectRegistryV1
91-
startBlock: 38700927
91+
startBlock: 38700928
9292
mapping:
9393
kind: ethereum/events
9494
apiVersion: 0.0.6
@@ -123,7 +123,7 @@ dataSources:
123123
source:
124124
address: "0xdF8b74D735197dCD5C94bE933db080E69A958de6"
125125
abi: MarketplaceV4
126-
startBlock: 39591312
126+
startBlock: 39591313
127127
mapping:
128128
kind: ethereum/events
129129
apiVersion: 0.0.6
@@ -144,7 +144,7 @@ dataSources:
144144
source:
145145
address: "0xAA7a4BdBE91F143F3103206e48A8AfF21101B6DE"
146146
abi: ProjectStakingV1
147-
startBlock: 38701363
147+
startBlock: 38701364
148148
mapping:
149149
kind: ethereum/events
150150
apiVersion: 0.0.6
@@ -170,7 +170,7 @@ dataSources:
170170
source:
171171
address: '0x869e88dB146ECAF20dDf199a12684cD80c263c8f'
172172
abi: StreamrConfig
173-
startBlock: 50000000
173+
startBlock: 50045923
174174
mapping:
175175
kind: ethereum/events
176176
apiVersion: 0.0.6
@@ -188,10 +188,9 @@ dataSources:
188188
name: SponsorshipFactory
189189
network: matic
190190
source:
191-
# make sure this is same as config.contracts.SponsorshipFactory in https://github.com/streamr-dev/network-contracts/blob/develop/packages/config/src/networks.json
192191
address: '0x820b2f9a15ed45F9802c59d0CC77C22C81755e45'
193192
abi: SponsorshipFactory
194-
startBlock: 50000000
193+
startBlock: 50046404
195194
mapping:
196195
kind: ethereum/events
197196
apiVersion: 0.0.6
@@ -213,10 +212,9 @@ dataSources:
213212
name: OperatorFactory
214213
network: matic
215214
source:
216-
# make sure this is same as config.contracts.OperatorFactory in https://github.com/streamr-dev/network-contracts/blob/develop/packages/config/src/networks.json
217215
address: '0x935734e66729b69260543Cf6e5EfeB42AC962183'
218216
abi: OperatorFactory
219-
startBlock: 50000000
217+
startBlock: 50046356
220218
mapping:
221219
kind: ethereum/events
222220
apiVersion: 0.0.6

0 commit comments

Comments
 (0)