Skip to content

fix: coverage bug#7532

Merged
klkvr merged 1 commit into
foundry-rs:masterfrom
klkvr:klkvr/fix-coverage-bug
Apr 1, 2024
Merged

fix: coverage bug#7532
klkvr merged 1 commit into
foundry-rs:masterfrom
klkvr:klkvr/fix-coverage-bug

Conversation

@klkvr

@klkvr klkvr commented Apr 1, 2024

Copy link
Copy Markdown
Member

Motivation

Ref #7510 (comment)

#7510 introduced bug which resulted in broken coverage reports for projects with multiple solc versions used.

We were collecting coverage items separately for each version, however, anchors search was done for each artifact, thus we were always overriding anchors data for all artifacts with data from last seen version.

@onbjerg onbjerg added the T-bug Type: bug label Apr 1, 2024
@klkvr klkvr merged commit f625d0f into foundry-rs:master Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-bug Type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants