@@ -59,8 +59,8 @@ interface NetworkConfig {
5959
6060const networkConfigs : NetworkConfig [ ] = [
6161 { network : 'mainnet' , chainId : 1 , graphConfig : 'config/graph.mainnet.yml' } ,
62- { network : 'rinkeby' , chainId : 4 } ,
63- { network : 'goerli' , chainId : 5 } ,
62+ { network : 'rinkeby' , chainId : 4 , graphConfig : 'config/graph.rinkeby.yml' } ,
63+ { network : 'goerli' , chainId : 5 , graphConfig : 'config/graph.goerli.yml' } ,
6464 { network : 'kovan' , chainId : 42 } ,
6565]
6666
@@ -138,17 +138,19 @@ const config: HardhatUserConfig = {
138138 interval : 13000 ,
139139 } ,
140140 hardfork : 'london' ,
141+ graphConfig : 'config/graph.localhost.yml' ,
141142 } ,
142143 localhost : {
143144 chainId : 1337 ,
144145 url : 'http://localhost:8545' ,
145146 accounts :
146147 process . env . FORK === 'true' ? getAccountsKeys ( ) : { mnemonic : DEFAULT_TEST_MNEMONIC } ,
148+ graphConfig : 'config/graph.localhost.yml' ,
147149 } ,
148150 } ,
149151 graph : {
150152 addressBook : process . env . ADDRESS_BOOK ?? 'addresses.json' ,
151- l1GraphConfig : process . env . GRAPH_CONFIG ?? 'config/graph.localhost.yml' ,
153+ l1GraphConfig : process . env . L1_GRAPH_CONFIG ?? 'config/graph.localhost.yml' ,
152154 l2GraphConfig : process . env . L2_GRAPH_CONFIG ,
153155 } ,
154156 etherscan : {
0 commit comments