Is there any way to enable/disable compiler optimisation when using
web3.eth.compile.solidity(...)
PS: using solc-js
is not considered
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityIt 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.
web3
does not offer compile.solidity()
method anymore. You have to find out other method or stick with old libraries forever ;)