Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

[sol-cov] Only collect coverage for provided sources #702

Merged
merged 3 commits into from
Jun 21, 2018

Commits on Jun 14, 2018

  1. Collect coverage for provided sources

    When solidity generates source maps during contract compilation, the
    contracts are referred to by an id, which corresponds to an array index.
    
    We may not want to cover all sources that were included in a compilation,
    but because we use array indexes (vs. the id that is provided by solidity
    compiler) to map the contract to the sourceMap, the provided sourceCodes
    array must include the code at the correct index. This can result in
    empty slots in the sourceCodes array.
    
    This commit allows the coverage to only be collected for the contracts
    with provided sourceCode.
    ewingrj committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    7a41a52 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. Configuration menu
    Copy the full SHA
    c5ea985 View commit details
    Browse the repository at this point in the history
  2. fix linter issues

    ewingrj committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    ade8e95 View commit details
    Browse the repository at this point in the history