@@ -52,7 +52,7 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
52
52
const horizonDeployment = await hre . ignition . deploy ( HorizonModule , {
53
53
displayUi : true ,
54
54
parameters : IgnitionHelper . patchConfig ( HorizonConfig , {
55
- SubgraphService : {
55
+ $global : {
56
56
subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
57
57
} ,
58
58
} ) ,
@@ -68,12 +68,12 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
68
68
disputeManagerProxyAddress : proxiesDeployment . Transparent_Proxy_DisputeManager . target as string ,
69
69
curationAddress : horizonDeployment . Graph_Proxy_L2Curation . target as string ,
70
70
curationImplementationAddress : horizonDeployment . Implementation_L2Curation . target as string ,
71
+ subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
71
72
} ,
72
73
DisputeManager : {
73
74
disputeManagerProxyAdminAddress : proxiesDeployment . Transparent_ProxyAdmin_DisputeManager . target as string ,
74
75
} ,
75
76
SubgraphService : {
76
- subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
77
77
subgraphServiceProxyAdminAddress : proxiesDeployment . Transparent_ProxyAdmin_SubgraphService . target as string ,
78
78
graphTallyCollectorAddress : horizonDeployment . GraphTallyCollector . target as string ,
79
79
} ,
@@ -170,8 +170,10 @@ function _patchStepConfig<ChainId extends number, ContractName extends string, H
170
170
const GraphTallyCollector = horizonAddressBook . getEntry ( 'GraphTallyCollector' )
171
171
172
172
patchedConfig = IgnitionHelper . patchConfig ( config , {
173
- SubgraphService : {
173
+ $global : {
174
174
subgraphServiceProxyAddress : SubgraphService . address ,
175
+ } ,
176
+ SubgraphService : {
175
177
subgraphServiceProxyAdminAddress : SubgraphService . proxyAdmin ,
176
178
graphTallyCollectorAddress : GraphTallyCollector . address ,
177
179
disputeManagerProxyAddress : DisputeManager . address ,
0 commit comments