Skip to content

Commit 4a1896b

Browse files
committed
fix: revert reading graph config change
1 parent 4058d37 commit 4a1896b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/verify/verify.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { isFullyQualifiedName, parseFullyQualifiedName } from 'hardhat/utils/con
55
import { TASK_COMPILE } from 'hardhat/builtin-tasks/task-names'
66
import { loadEnv } from '../../cli/env'
77
import { cliOpts } from '../../cli/defaults'
8-
import { getContractConfig, readConfig } from '../../cli/config'
8+
import { getContractConfig } from '../../cli/config'
99
import { Wallet } from 'ethers'
1010
import fs from 'fs'
1111
import path from 'path'
@@ -84,10 +84,10 @@ task('verifyAll', 'Verifies all contracts on etherscan')
8484
}
8585

8686
console.log(`> Verifying all contracts on chain ${chainName}[${chainId}]...`)
87-
const { addressBook } = hre.graph({
87+
const { addressBook, graphConfig } = hre.graph({
8888
addressBook: args.addressBook,
89+
graphConfig: args.graphConfig,
8990
})
90-
const graphConfig = readConfig(args.graphConfig)
9191

9292
const accounts = await hre.ethers.getSigners()
9393
const env = await loadEnv(args, accounts[0] as unknown as Wallet)

0 commit comments

Comments
 (0)