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

hevm flatten: support semver ranges in Solidity version pragmas #127

Closed
mbrock opened this issue Feb 5, 2019 · 0 comments
Closed

hevm flatten: support semver ranges in Solidity version pragmas #127

mbrock opened this issue Feb 5, 2019 · 0 comments
Assignees

Comments

@mbrock
Copy link
Contributor

mbrock commented Feb 5, 2019

We now fail to run hevm flatten (or hevm verify) when any source file uses a complex Solidity version pragma.

The correct way to do this would be to use the Hackage package semver-range to figure out the maximum concrete version for each pragma, what is now poorly implemented in EVM.Flatten.maximalPragma.

@mbrock mbrock self-assigned this Feb 5, 2019
mbrock added a commit that referenced this issue Feb 6, 2019
See #127.

We are now able to flatten the ds-proxy source code which previously
gave an error.
@mbrock mbrock closed this as completed Feb 6, 2019
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

No branches or pull requests

1 participant