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

Improve check for partial compilation in Truffle #225

Merged
merged 10 commits into from
Nov 17, 2020

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Nov 17, 2020

Truffle copies a dependency's artifacts into the artifacts directory when they're imported in a migration using artifacts.require.

This was causing our detection of partial compilation to trip up and was reported by a user in the forum.

I made the detection a little bit smarter to try to detect when this happens, but as far as I can tell it's not possible to do it reliably because these artifacts look just like the normal project artifacts.

@frangio frangio changed the title Improve validations in Truffle Improve check for partial compilation in Truffle Nov 17, 2020
@frangio frangio merged commit 32fea63 into master Nov 17, 2020
@frangio frangio deleted the truffle-artifacts-validate branch November 17, 2020 19:23
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.

1 participant