1

Is there any way to enable/disable compiler optimisation when using

web3.eth.compile.solidity(...)

PS: using solc-js is not considered

2 Answers 2

1

It does not look like there's currently any way to change that setting. In geth, it appears to be enabled by default, from v1.2.1 onwards.

0

web3 does not offer compile.solidity() method anymore. You have to find out other method or stick with old libraries forever ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.