Skip to content

Clarify blockconfirmations should be set in networkConfig file while using TypeScript #1707

@RowinVanAmsterdam

Description

@RowinVanAmsterdam

Describe the enhancement

Make clear that blockconfirmations should be defined in helper-hardhat-config.ts file if you're using TypeScript instead of JavaScript.

blockconfirmations does not exist as configuration property in Hardhat (docs).

It will throw the following error:

  Property 'blockConfirmations' does not exist on type 'HardhatNetworkConfig'.

Issue is based on 'blockConfirmations' does not exist in type 'NetworkUserConfig'. #3025

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions