Skip to content

Commit

Permalink
Merge pull request #545 from matnad/fix-moving-contracts
Browse files Browse the repository at this point in the history
fix: recompile moved contracts
  • Loading branch information
iamdefinitelyahuman committed May 23, 2020
2 parents 782c32e + a069094 commit df9784c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions brownie/project/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit df9784c

Please sign in to comment.