Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incremental compilation #1411

Merged

Conversation

danhper
Copy link
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

@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