Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix(solc): skip artifacts check for files without artifacts #1018

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 13, 2022

Motivation

Fix false positive dirty detection for files that don't emit artifacts

Solution

Only check for artifacts if the CacheEntry links to artifacts, so that files like:

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC165.sol

are skipped when determining the change status of a file

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

@gakonst gakonst merged commit 6b0a1f7 into gakonst:master Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants