diff --git a/CHANGELOG.md b/CHANGELOG.md index 482f384ea..64d0d82d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Allow connections to `wss://` endpoints ([#542](https://github.com/iamdefinitelyahuman/brownie/pull/542)) - Improved `--gas` report ([#543](https://github.com/iamdefinitelyahuman/brownie/pull/543)) - +- Fixed error on moving contracts ([#545](https://github.com/iamdefinitelyahuman/brownie/pull/545)) ## [1.8.6](https://github.com/iamdefinitelyahuman/brownie/tree/v1.8.6) - 2020-05-19 ### Added diff --git a/brownie/project/main.py b/brownie/project/main.py index 8af74267c..6b92769a5 100644 --- a/brownie/project/main.py +++ b/brownie/project/main.py @@ -181,6 +181,9 @@ def load(self) -> None: if test_path.exists(): test_path.unlink() continue + if not self._path.joinpath(build_json["sourcePath"]).exists(): + path.unlink() + continue self._build._add(build_json) interface_hashes = {}