Skip to content

"TypeError: Could not instrument" with empty virtual modifier #766

Closed
@Arvolear

Description

@Arvolear

The following code makes the coverage error TypeError: Could not instrument.

// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

abstract contract Test {
    modifier onlyOwner() virtual;
}

Tested with 0.8.2 coverage version.

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