trufflesuite / truffle-compile

Compiler helper and artifact manager
22 stars 46 forks source link

Show solcjs compilation flags information #10

Closed adria0 closed 7 years ago

adria0 commented 7 years ago

There's a tuning about optimization loops in

https://github.com/trufflesuite/truffle-compile/blob/331809c73389f27f9dda40229061bb75b18f27ca/index.js#L70

but, since this modification it's not a default in solcjs, and it is not warned there's no way to verify the code in etherscan once deployed.

I sent a email to etherscan about supporting this compilation flag, too.

tcoulter commented 7 years ago

We'll add the default parameters to our documentation. We've created a ticket that will allow people to override the default compiler optimization setting. trufflesuite/truffle#486.

tcoulter commented 7 years ago

Thanks!