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

feat: Add viaIR, runs to config settings [APE-1013] #106

Closed
wants to merge 2 commits into from

Conversation

0xcivita
Copy link

@0xcivita 0xcivita commented Jun 5, 2023

What I did

Allows ape users to specify via_ir, runs params in ape-config.yaml to use with the Solidity compiler.

Fixes: #67, #94

How I did it

Added runs, via_ir to SolidityConfig.

How to verify it

e.g. in any ape-config.yaml

solidity:
  runs: 800
  via_ir: true

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

@vany365 vany365 changed the title feat: Add viaIR, runs to config settings feat: Add viaIR, runs to config settings [APE-1013] Jun 5, 2023
@github-actions
Copy link

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label, add a comment, or make a new commit, otherwise this PR will be closed in 5 days.

@github-actions github-actions bot added the stale label Jul 11, 2023
@github-actions
Copy link

This PR was closed because it has been inactive for 35 days.

@antazoey
Copy link
Member

antazoey commented Jun 3, 2024

sorry, i somehow missed this PR! Thank you!
I reopened one putting back some of the missing pieces: #146

looks like via-ir was already added so my PR mostly adds the optimization_runs config.

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

Successfully merging this pull request may close these issues.

Support --optimize-runs flag to allow changing the run during optimization
2 participants