Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Experimental feature: Compilation with pragma analysis #3704

Merged
merged 45 commits into from
Feb 27, 2021
Merged

Conversation

eggplantzzz
Copy link
Contributor

This is an experimental feature where Truffle analyzes pragma expressions in a user's Solidity files, then organizes compilation such that each source is compiled with the version of the Solidity compiler that most suits it.

eggplantzzz and others added 30 commits November 3, 2020 14:12
…sed on the version of the Solidity compiler that they require
@davidmurdoch davidmurdoch removed their request for review January 28, 2021 17:39
@eggplantzzz
Copy link
Contributor Author

So at this point, it looks like the requirement is that all of a user's "parent" contracts must contain pragma expressions. We allow for the imports to not contain them and they will not be used to determine which compiler version to use. Only the pragma expressions found will be used.

Copy link
Contributor

@haltman-at haltman-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, I think this is finally good to go! :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants