Skip to content

feat: attach a CoverageInspector to the Executor #6973

@cvick32

Description

@cvick32

Component

Other (please describe)

Describe the feature you would like

Feature: Getting coverage information from anywhere by attaching a CoverageInspector to the Executor.

I'm trying to find coverage during a run of a transaction, so I tried adding a Coverage Inspector to the ExecutorBuilder. I'm able to see that the coverage bool is set in the Executor, but after I run a transaction on the Executor and I run collect on the InspectorStack I get an empty HitMap.

I'm thinking that this is happening because the Analyzer is never called on the source contracts, so there are no Anchors but I'm not sure.

Let me know if this is out of scope or if it's already possible and I've missed something.

Thanks!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Next Up

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions