Skip to content

Commit

Permalink
fix(config): Remove hardhat import
Browse files Browse the repository at this point in the history
  • Loading branch information
DeFiFoFum committed Apr 25, 2024
1 parent 75f6486 commit 13c342e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { HardhatUserConfig, task, types } from 'hardhat/config'
import { run } from 'hardhat'
import {
HardhatRuntimeEnvironment,
HttpNetworkAccountsUserConfig,
Expand Down Expand Up @@ -64,7 +63,7 @@ task('deploy-implementation', 'Deploys an implementation contract to the network

try {
// https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-etherscan#using-programmatically
await run('verify:verify', {
await hre.run('verify:verify', {
address: contract.address,
constructorArguments: [], // Implementation contracts don't have constructor arguments
noCompile: true, // This replaces the --no-compile flag
Expand Down

0 comments on commit 13c342e

Please sign in to comment.