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

Provide development Foundry profile that doesn't use --via-ir #208

Open
PaulRBerg opened this issue May 15, 2023 · 0 comments
Open

Provide development Foundry profile that doesn't use --via-ir #208

PaulRBerg opened this issue May 15, 2023 · 0 comments

Comments

@PaulRBerg
Copy link
Contributor

Making contributions to this repo is difficult because recompiling the contracts takes a long time, which is due to using --via-ir:

via_ir = true

To improve the UX, consider providing a development-only Foundry profile that does not use --via-ir (and potentially disables the optimizer, too), by following the approach discussed here:

Besides Seaport, there is an example of this kind of setup in my PRBProxy project:

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