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/invalid default compiler outputs #127

Merged

Conversation

skellet0r
Copy link
Contributor

What I did

Parse the appropriate compiler version when determining output options.

Just seeing now there is also another PR that does this exact same thing ... but i have tests :)

Related: #126

How I did it

Just added an additional argument to specify which compiler to use when parsing options

How to verify it

There is a test. The solc 0.8.x series introduced a function-debug output option, which was not available in previous compiler versions. This also happened to be the reason why using previous compiler versions, with a 0.8.x one installed raised errors.

Checklist

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

Copy link
Contributor

@iamdefinitelyahuman iamdefinitelyahuman left a comment

Choose a reason for hiding this comment

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

lint it and we'll cut a new release

@skellet0r skellet0r merged commit 13879e0 into ApeWorX:master Oct 12, 2021
@skellet0r skellet0r deleted the fix/invalid-default-compiler-outputs branch October 12, 2021 18:20
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.

2 participants