Skip to content

Fix incremental compilation#1411

Merged
iamdefinitelyahuman merged 1 commit intoeth-brownie:masterfrom
danhper:fix-incremental-compilation
Feb 5, 2022
Merged

Fix incremental compilation#1411
iamdefinitelyahuman merged 1 commit intoeth-brownie:masterfrom
danhper:fix-incremental-compilation

Conversation

@danhper
Copy link
Copy Markdown
Contributor

@danhper danhper commented Jan 26, 2022

What I did

Fix issue with the current incremental compilation causing all the contracts to recompile every time.

How I did it

Improved the compiler comparison to avoid comparing things such as "v0.8.10" and "v0.8.10+commit.fc410830" or so.

How to verify it

Compiling any project where the Solidity compiler version is specified should be enough to reproduce.

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

@iamdefinitelyahuman iamdefinitelyahuman merged commit 41c3406 into eth-brownie:master Feb 5, 2022
@caenrigen
Copy link
Copy Markdown

@danhper @iamdefinitelyahuman Thanks a lot! Great speed up for big projects 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants