-
Notifications
You must be signed in to change notification settings - Fork 325
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
Apparent enabling optimizations error #609
Comments
the
If you want to see the compiler options, you can look at the output of |
Oh yes, you are right, |
It seems even using the two flags doesn't build with optimization:
So far I think there is no option to deploy with optimization, as if I use
Then when we run
If we do:
Then
|
The flag is |
No, I haven't tried with the full path, the file is |
Actually never mind, the |
btw @gbalabasquer we just merged support for |
Yes, thanks! |
We just deployed a contract using latest released version and
DAPP_SOLC_OPTIMIZE=true
and the contract got deployed without optimization.It seems the variable being check is actually:
DAPP_BUILD_OPTIMIZE
:dapptools/src/dapp/libexec/dapp/dapp-mk-standard-json
Line 41 in afbb707
I'm not really sure if I'm losing some linking between those two variables or if I'm looking to the wrong place, but the fact that the contract deployed without optimization makes me think there is actually the problem.
Btw is it possible to see the
solc
output again when runningdapp build
?, these kind of errors would be probably caught better if we could still see the what the finalsolc
command looks like.The text was updated successfully, but these errors were encountered: