You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nomiclabs/hardhat-etherscan is 3.0.0 hardhat-deploy is 0.9.24
fixed by downgrading @nomiclabs/hardhat-etherscan to 2.1.8
node_modules/hardhat-deploy/dist/src/type-extensions.d.ts:24:9 - error TS2717: Subsequent property declarations must have the same type. Property 'etherscan' must be of type 'EtherscanConfig | undefined', but here has type '{ apiKey?: string | undefined; } | undefined'.
24 etherscan?: {
~~~~~~~~~
node_modules/@nomiclabs/hardhat-etherscan/dist/src/type-extensions.d.ts:5:9
5 etherscan?: EtherscanConfig;
~~~~~~~~~
'etherscan' was also declared here.
node_modules/hardhat-deploy/dist/src/type-extensions.d.ts:46:9 - error TS2717: Subsequent property declarations must have the same type. Property 'etherscan' must be of type 'EtherscanConfig', but here has type '{ apiKey?: string | undefined; }'.
46 etherscan: {
~~~~~~~~~
node_modules/@nomiclabs/hardhat-etherscan/dist/src/type-extensions.d.ts:8:9
8 etherscan: EtherscanConfig;
~~~~~~~~~
'etherscan' was also declared here.
Found 2 errors.
The text was updated successfully, but these errors were encountered:
Previously used `0.9.29` version was causing conflicts with the
`@nomiclabs/hardhat-etherscan` plugin (`Property 'etherscan' must be of type
'EtherscanUserConfig', but here has type '{ apiKey?: string; }'` during `npm
pubish`).
According to wighawag/hardhat-deploy#257 upgrading
`hardhat-deploy` to version `0.10.0` or higher should fix the issue.
a reincarnation of #106
@nomiclabs/hardhat-etherscan
is3.0.0
hardhat-deploy
is0.9.24
fixed by downgrading
@nomiclabs/hardhat-etherscan
to2.1.8
The text was updated successfully, but these errors were encountered: