@@ -52,7 +52,7 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
5252 const horizonDeployment = await hre . ignition . deploy ( HorizonModule , {
5353 displayUi : true ,
5454 parameters : IgnitionHelper . patchConfig ( HorizonConfig , {
55- SubgraphService : {
55+ $global : {
5656 subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
5757 } ,
5858 } ) ,
@@ -68,12 +68,12 @@ task('deploy:protocol', 'Deploy a new version of the Graph Protocol Horizon cont
6868 disputeManagerProxyAddress : proxiesDeployment . Transparent_Proxy_DisputeManager . target as string ,
6969 curationAddress : horizonDeployment . Graph_Proxy_L2Curation . target as string ,
7070 curationImplementationAddress : horizonDeployment . Implementation_L2Curation . target as string ,
71+ subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
7172 } ,
7273 DisputeManager : {
7374 disputeManagerProxyAdminAddress : proxiesDeployment . Transparent_ProxyAdmin_DisputeManager . target as string ,
7475 } ,
7576 SubgraphService : {
76- subgraphServiceProxyAddress : proxiesDeployment . Transparent_Proxy_SubgraphService . target as string ,
7777 subgraphServiceProxyAdminAddress : proxiesDeployment . Transparent_ProxyAdmin_SubgraphService . target as string ,
7878 graphTallyCollectorAddress : horizonDeployment . GraphTallyCollector . target as string ,
7979 } ,
@@ -170,8 +170,10 @@ function _patchStepConfig<ChainId extends number, ContractName extends string, H
170170 const GraphTallyCollector = horizonAddressBook . getEntry ( 'GraphTallyCollector' )
171171
172172 patchedConfig = IgnitionHelper . patchConfig ( config , {
173- SubgraphService : {
173+ $global : {
174174 subgraphServiceProxyAddress : SubgraphService . address ,
175+ } ,
176+ SubgraphService : {
175177 subgraphServiceProxyAdminAddress : SubgraphService . proxyAdmin ,
176178 graphTallyCollectorAddress : GraphTallyCollector . address ,
177179 disputeManagerProxyAddress : DisputeManager . address ,
0 commit comments