Skip to content

Commit b5369e5

Browse files
committed
chore: syncAllContracts calls in all config files
1 parent 32e99fd commit b5369e5

File tree

6 files changed

+80
-0
lines changed

6 files changed

+80
-0
lines changed

config/graph.arbitrum-goerli.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@ contracts:
4848
proxy: true
4949
init:
5050
controller: "${{Controller.address}}"
51+
calls:
52+
- fn: "syncAllContracts"
5153
EpochManager:
5254
proxy: true
5355
init:
5456
controller: "${{Controller.address}}"
5557
lengthInBlocks: 554 # length in hours = lengthInBlocks*13/60/60 (~13 second blocks)
58+
calls:
59+
- fn: "syncAllContracts"
5660
L2GraphToken:
5761
proxy: true
5862
init:
@@ -66,6 +70,8 @@ contracts:
6670
reserveRatio: 500000 # in parts per million
6771
curationTaxPercentage: 10000 # in parts per million
6872
minimumCurationDeposit: "1000000000000000000" # in wei
73+
calls:
74+
- fn: "syncAllContracts"
6975
DisputeManager:
7076
proxy: true
7177
init:
@@ -75,6 +81,8 @@ contracts:
7581
fishermanRewardPercentage: 500000 # in parts per million
7682
idxSlashingPercentage: 25000 # in parts per million
7783
qrySlashingPercentage: 25000 # in parts per million
84+
calls:
85+
- fn: "syncAllContracts"
7886
GNS:
7987
proxy: true
8088
init:
@@ -83,6 +91,7 @@ contracts:
8391
subgraphNFT: "${{SubgraphNFT.address}}"
8492
calls:
8593
- fn: "approveAll"
94+
- fn: "syncAllContracts"
8695
SubgraphNFT:
8796
init:
8897
governor: "${{Env.deployer}}"
@@ -116,13 +125,15 @@ contracts:
116125
- fn: "setAssetHolder"
117126
assetHolder: "${{AllocationExchange.address}}"
118127
allowed: true
128+
- fn: "syncAllContracts"
119129
RewardsManager:
120130
proxy: true
121131
init:
122132
controller: "${{Controller.address}}"
123133
calls:
124134
- fn: "setSubgraphAvailabilityOracle"
125135
subgraphAvailabilityOracle: *availabilityOracle
136+
- fn: "syncAllContracts"
126137
AllocationExchange:
127138
init:
128139
graphToken: "${{L2GraphToken.address}}"
@@ -135,9 +146,12 @@ contracts:
135146
proxy: true
136147
init:
137148
controller: "${{Controller.address}}"
149+
calls:
150+
- fn: "syncAllContracts"
138151
L2Reservoir:
139152
proxy: true
140153
init:
141154
controller: "${{Controller.address}}"
142155
calls:
143156
- fn: "approveRewardsManager"
157+
- fn: "syncAllContracts"

config/graph.arbitrum-localhost.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ contracts:
4848
proxy: true
4949
init:
5050
controller: "${{Controller.address}}"
51+
calls:
52+
- fn: "syncAllContracts"
5153
EpochManager:
5254
proxy: true
5355
init:
@@ -66,6 +68,8 @@ contracts:
6668
reserveRatio: 500000 # in parts per million
6769
curationTaxPercentage: 10000 # in parts per million
6870
minimumCurationDeposit: "1000000000000000000" # in wei
71+
calls:
72+
- fn: "syncAllContracts"
6973
DisputeManager:
7074
proxy: true
7175
init:
@@ -75,6 +79,8 @@ contracts:
7579
fishermanRewardPercentage: 500000 # in parts per million
7680
idxSlashingPercentage: 25000 # in parts per million
7781
qrySlashingPercentage: 25000 # in parts per million
82+
calls:
83+
- fn: "syncAllContracts"
7884
GNS:
7985
proxy: true
8086
init:
@@ -83,6 +89,7 @@ contracts:
8389
subgraphNFT: "${{SubgraphNFT.address}}"
8490
calls:
8591
- fn: "approveAll"
92+
- fn: "syncAllContracts"
8693
SubgraphNFT:
8794
init:
8895
governor: "${{Env.deployer}}"
@@ -116,13 +123,15 @@ contracts:
116123
- fn: "setAssetHolder"
117124
assetHolder: "${{AllocationExchange.address}}"
118125
allowed: true
126+
- fn: "syncAllContracts"
119127
RewardsManager:
120128
proxy: true
121129
init:
122130
controller: "${{Controller.address}}"
123131
calls:
124132
- fn: "setSubgraphAvailabilityOracle"
125133
subgraphAvailabilityOracle: *availabilityOracle
134+
- fn: "syncAllContracts"
126135
AllocationExchange:
127136
init:
128137
graphToken: "${{L2GraphToken.address}}"
@@ -135,9 +144,12 @@ contracts:
135144
proxy: true
136145
init:
137146
controller: "${{Controller.address}}"
147+
calls:
148+
- fn: "syncAllContracts"
138149
L2Reservoir:
139150
proxy: true
140151
init:
141152
controller: "${{Controller.address}}"
142153
calls:
143154
- fn: "approveRewardsManager"
155+
- fn: "syncAllContracts"

config/graph.arbitrum-one.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ contracts:
4848
proxy: true
4949
init:
5050
controller: "${{Controller.address}}"
51+
calls:
52+
- fn: "syncAllContracts"
5153
EpochManager:
5254
proxy: true
5355
init:
@@ -66,6 +68,8 @@ contracts:
6668
reserveRatio: 500000 # in parts per million
6769
curationTaxPercentage: 10000 # in parts per million
6870
minimumCurationDeposit: "1000000000000000000" # in wei
71+
calls:
72+
- fn: "syncAllContracts"
6973
DisputeManager:
7074
proxy: true
7175
init:
@@ -75,6 +79,8 @@ contracts:
7579
fishermanRewardPercentage: 500000 # in parts per million
7680
idxSlashingPercentage: 25000 # in parts per million
7781
qrySlashingPercentage: 25000 # in parts per million
82+
calls:
83+
- fn: "syncAllContracts"
7884
GNS:
7985
proxy: true
8086
init:
@@ -83,6 +89,7 @@ contracts:
8389
subgraphNFT: "${{SubgraphNFT.address}}"
8490
calls:
8591
- fn: "approveAll"
92+
- fn: "syncAllContracts"
8693
SubgraphNFT:
8794
init:
8895
governor: "${{Env.deployer}}"
@@ -116,13 +123,15 @@ contracts:
116123
- fn: "setAssetHolder"
117124
assetHolder: "${{AllocationExchange.address}}"
118125
allowed: true
126+
- fn: "syncAllContracts"
119127
RewardsManager:
120128
proxy: true
121129
init:
122130
controller: "${{Controller.address}}"
123131
calls:
124132
- fn: "setSubgraphAvailabilityOracle"
125133
subgraphAvailabilityOracle: *availabilityOracle
134+
- fn: "syncAllContracts"
126135
AllocationExchange:
127136
init:
128137
graphToken: "${{GraphToken.address}}"
@@ -135,9 +144,12 @@ contracts:
135144
proxy: true
136145
init:
137146
controller: "${{Controller.address}}"
147+
calls:
148+
- fn: "syncAllContracts"
138149
L2Reservoir:
139150
proxy: true
140151
init:
141152
controller: "${{Controller.address}}"
142153
calls:
143154
- fn: "approveRewardsManager"
155+
- fn: "syncAllContracts"

config/graph.goerli.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ contracts:
4848
proxy: true
4949
init:
5050
controller: "${{Controller.address}}"
51+
calls:
52+
- fn: "syncAllContracts"
5153
EpochManager:
5254
proxy: true
5355
init:
@@ -71,6 +73,8 @@ contracts:
7173
reserveRatio: 500000 # in parts per million
7274
curationTaxPercentage: 10000 # in parts per million
7375
minimumCurationDeposit: "1000000000000000000" # in wei
76+
calls:
77+
- fn: "syncAllContracts"
7478
DisputeManager:
7579
proxy: true
7680
init:
@@ -80,6 +84,8 @@ contracts:
8084
fishermanRewardPercentage: 500000 # in parts per million
8185
idxSlashingPercentage: 25000 # in parts per million
8286
qrySlashingPercentage: 25000 # in parts per million
87+
calls:
88+
- fn: "syncAllContracts"
8389
GNS:
8490
proxy: true
8591
init:
@@ -88,6 +94,7 @@ contracts:
8894
subgraphNFT: "${{SubgraphNFT.address}}"
8995
calls:
9096
- fn: "approveAll"
97+
- fn: "syncAllContracts"
9198
SubgraphNFT:
9299
init:
93100
governor: "${{Env.deployer}}"
@@ -121,13 +128,15 @@ contracts:
121128
- fn: "setAssetHolder"
122129
assetHolder: "${{AllocationExchange.address}}"
123130
allowed: true
131+
- fn: "syncAllContracts"
124132
RewardsManager:
125133
proxy: true
126134
init:
127135
controller: "${{Controller.address}}"
128136
calls:
129137
- fn: "setSubgraphAvailabilityOracle"
130138
subgraphAvailabilityOracle: *availabilityOracle
139+
- fn: "syncAllContracts"
131140
AllocationExchange:
132141
init:
133142
graphToken: "${{GraphToken.address}}"
@@ -140,14 +149,19 @@ contracts:
140149
proxy: true
141150
init:
142151
controller: "${{Controller.address}}"
152+
calls:
153+
- fn: "syncAllContracts"
143154
BridgeEscrow:
144155
proxy: true
145156
init:
146157
controller: "${{Controller.address}}"
158+
calls:
159+
- fn: "syncAllContracts"
147160
L1Reservoir:
148161
proxy: true
149162
init:
150163
controller: "${{Controller.address}}"
151164
dripInterval: 50400
152165
calls:
153166
- fn: "approveRewardsManager"
167+
- fn: "syncAllContracts"

config/graph.localhost.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ contracts:
4848
proxy: true
4949
init:
5050
controller: "${{Controller.address}}"
51+
calls:
52+
- fn: "syncAllContracts"
5153
EpochManager:
5254
proxy: true
5355
init:
@@ -71,6 +73,8 @@ contracts:
7173
reserveRatio: 500000 # in parts per million
7274
curationTaxPercentage: 10000 # in parts per million
7375
minimumCurationDeposit: "1000000000000000000" # in wei
76+
calls:
77+
- fn: "syncAllContracts"
7478
DisputeManager:
7579
proxy: true
7680
init:
@@ -80,6 +84,8 @@ contracts:
8084
fishermanRewardPercentage: 500000 # in parts per million
8185
idxSlashingPercentage: 25000 # in parts per million
8286
qrySlashingPercentage: 25000 # in parts per million
87+
calls:
88+
- fn: "syncAllContracts"
8389
GNS:
8490
proxy: true
8591
init:
@@ -88,6 +94,7 @@ contracts:
8894
subgraphNFT: "${{SubgraphNFT.address}}"
8995
calls:
9096
- fn: "approveAll"
97+
- fn: "syncAllContracts"
9198
SubgraphNFT:
9299
init:
93100
governor: "${{Env.deployer}}"
@@ -121,13 +128,15 @@ contracts:
121128
- fn: "setAssetHolder"
122129
assetHolder: "${{AllocationExchange.address}}"
123130
allowed: true
131+
- fn: "syncAllContracts"
124132
RewardsManager:
125133
proxy: true
126134
init:
127135
controller: "${{Controller.address}}"
128136
calls:
129137
- fn: "setSubgraphAvailabilityOracle"
130138
subgraphAvailabilityOracle: *availabilityOracle
139+
- fn: "syncAllContracts"
131140
AllocationExchange:
132141
init:
133142
graphToken: "${{GraphToken.address}}"
@@ -140,14 +149,19 @@ contracts:
140149
proxy: true
141150
init:
142151
controller: "${{Controller.address}}"
152+
calls:
153+
- fn: "syncAllContracts"
143154
BridgeEscrow:
144155
proxy: true
145156
init:
146157
controller: "${{Controller.address}}"
158+
calls:
159+
- fn: "syncAllContracts"
147160
L1Reservoir:
148161
proxy: true
149162
init:
150163
controller: "${{Controller.address}}"
151164
dripInterval: 50400
152165
calls:
153166
- fn: "approveRewardsManager"
167+
- fn: "syncAllContracts"

0 commit comments

Comments
 (0)