Skip to content

Conflict with @nomiclabs/hardhat-etherscan 3.0.0 #257

@clifton

Description

@clifton

a reincarnation of #106

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions