We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5223807 commit afeda47Copy full SHA for afeda47
packages/contracts/task/tasks/deployment/config.ts
@@ -6,6 +6,7 @@ import {
6
updateGeneralParams,
7
writeConfig,
8
} from '@graphprotocol/sdk'
9
+import { readConfig } from '@graphprotocol/contracts-task'
10
import { greTask } from '@graphprotocol/sdk/gre'
11
12
greTask('update-config', 'Update graph config parameters with onchain data')
@@ -30,7 +31,8 @@ greTask('update-config', 'Update graph config parameters with onchain data')
30
31
if (!sure) return
32
}
33
- const { graphConfig, contracts } = hre.graph({ graphConfig: configFile })
34
+ const { contracts } = hre.graph({ graphConfig: configFile })
35
+ const graphConfig = readConfig(configFile, false)
36
37
// general parameters
38
console.log(`> General`)
0 commit comments