Skip to content

Zero coverage when using hardhat_reset #574

Closed
@cgewecke

Description

@cgewecke

Atm the tool reaches deep into the hardhat node to attach directly to the vm step event because hardhat's experimental trace hook seems to be missing pc-to-instruction data in some cases (calls to linked libraries, delegate calls, and/or factory contract deployments).

Per this HH PR comment is the vm destroyed on reset?

If so perhaps detect by HARDHAT_NETWORK_RESET_EVENT and re-attach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions