Skip to content

Commit

Permalink
fix: coverage bug (#7532)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
klkvr authored Apr 1, 2024
1 parent 0578aae commit f625d0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/forge/bin/cmd/coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ impl CoverageArgs {

let anchors: HashMap<ContractId, Vec<ItemAnchor>> = source_maps
.iter()
.filter(|(contract_id, _)| contract_id.version == version)
.filter_map(|(contract_id, (_, deployed_source_map))| {
// TODO: Creation source map/bytecode as well
Some((
Expand Down

0 comments on commit f625d0f

Please sign in to comment.