Skip to content

Coverage Report is missing files when using automatic library linking #653

@GalloDaSballo

Description

@GalloDaSballo

I'm using Medusa V1.3.0, Foundry and viaIR

These are the build args in medusa.json

    "predeployedContracts": {
      "ActionHelper": "0xf01",
      "LoanCalculator": "0xf02"
    },
      "args": [
        "--compile-libraries=(ActionHelper,0xf01),(LoanCalculator,0xf02)", "--foundry-compile-all"
      ]

Coverage Report
Image

Removing the explicit call to compile-libraries and predeployedContracts causes the Coverage Report to miss certain files
Image

The run seems to still hit the same actual coverage as canaries are breaking in both cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions