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

Sol tracing fixes #1535

Merged
merged 17 commits into from
Jan 22, 2019
Merged

Conversation

LogvinovLeon
Copy link
Contributor

@LogvinovLeon LogvinovLeon commented Jan 22, 2019

Description

  • Fix a bug when some parts of the profiling report were missing because of the coverage ignore lines /* solcov ignore next */
  • SolCompilerArtifactAdapter now uses SolResolver under the hood which allows to resolve NPM dependencies properly. Before it was just throwing.
  • Cache the utils.getContractDataIfExists leading to faster execution
  • SolCompilerArtifactAdapter now doesn't return the ContractData for interfaces
  • Print reasonable error message on bytecode collision

Testing instructions

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@coveralls
Copy link

coveralls commented Jan 22, 2019

Coverage Status

Coverage decreased (-0.05%) to 85.212% when pulling 8ce8850 on feature/sol-tracing-monorepo-fixes into 8d367a0 on development.

contracts/utils/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-profiler/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-tracing-utils/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-tracing-utils/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-tracing-utils/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-tracing-utils/CHANGELOG.json Outdated Show resolved Hide resolved
packages/sol-tracing-utils/src/collect_coverage_entries.ts Outdated Show resolved Hide resolved
@LogvinovLeon LogvinovLeon merged commit cc48433 into development Jan 22, 2019
@LogvinovLeon LogvinovLeon deleted the feature/sol-tracing-monorepo-fixes branch January 22, 2019 22:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants