@@ -87,18 +87,26 @@ export const networksUserConfig = function (callerRequire: typeof require): Base
8787 mnemonic : 'myth like bonus scare over problem client lizard pioneer submit female collect' ,
8888 } ,
8989 deployments : {
90- horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon' , 'addresses-hardhat.json' ) ,
91- subgraphService : resolveAddressBook ( callerRequire , '@graphprotocol/subgraph-service' , 'addresses-hardhat.json' ) ,
90+ horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon/addresses.json' , 'addresses-hardhat.json' ) ,
91+ subgraphService : resolveAddressBook (
92+ callerRequire ,
93+ '@graphprotocol/subgraph-service/addresses.json' ,
94+ 'addresses-hardhat.json' ,
95+ ) ,
9296 } ,
9397 } ,
9498 localNetwork : {
9599 chainId : 1337 ,
96100 url : LOCAL_NETWORK_RPC ,
97101 deployments : {
98- horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon' , 'addresses-local-network.json' ) ,
102+ horizon : resolveAddressBook (
103+ callerRequire ,
104+ '@graphprotocol/horizon/addresses.json' ,
105+ 'addresses-local-network.json' ,
106+ ) ,
99107 subgraphService : resolveAddressBook (
100108 callerRequire ,
101- '@graphprotocol/subgraph-service' ,
109+ '@graphprotocol/subgraph-service/addresses.json ' ,
102110 'addresses-local-network.json' ,
103111 ) ,
104112 } ,
@@ -110,10 +118,10 @@ export const networksUserConfig = function (callerRequire: typeof require): Base
110118 enabled : true ,
111119 } ,
112120 deployments : {
113- horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon' , 'addresses-localhost.json' ) ,
121+ horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon/addresses.json ' , 'addresses-localhost.json' ) ,
114122 subgraphService : resolveAddressBook (
115123 callerRequire ,
116- '@graphprotocol/subgraph-service' ,
124+ '@graphprotocol/subgraph-service/addresses.json ' ,
117125 'addresses-localhost.json' ,
118126 ) ,
119127 } ,
@@ -148,8 +156,8 @@ export const hardhatBaseConfig = function (callerRequire: typeof require): BaseH
148156 networks : networksUserConfig ( callerRequire ) ,
149157 graph : {
150158 deployments : {
151- horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon' ) ,
152- subgraphService : resolveAddressBook ( callerRequire , '@graphprotocol/subgraph-service' ) ,
159+ horizon : resolveAddressBook ( callerRequire , '@graphprotocol/horizon/addresses.json ' ) ,
160+ subgraphService : resolveAddressBook ( callerRequire , '@graphprotocol/subgraph-service/addresses.json ' ) ,
153161 } ,
154162 } ,
155163 etherscan : etherscanUserConfig ,
0 commit comments