Closed axic closed 6 years ago
@cgewecke @gnidan I think this is now supported based on the two merged PRs?
@axic Apologies, missed this. It looks like we'll be releasing on Monday.
As a side-note - we moved all the truffle modules into a monorepo at trufflesuite/truffle this week. This repo is going to be archived and all the issues will be tracked in one place over there ;)
Did this make it into one of the releases yet in the 4.x series? 😉
@axic yep, looks like this went out with v4.1.12!
Great thanks!
@gnidan sorry to ask in this place, but how can this be used in the configuration?
sorry to ask in this place, but how can this be used in the configuration?
At compilers.solc.settings.evmVersion
. See docs here
Thank you, that's great!
Recent compiler versions introduced
evmVersion
as a setting in the JSON. If the field is missing, it defaults tobyzantium
which enables the use ofreturndatacopy
. This has caused some issues with non-compliant ERC20 token contracts (see https://github.com/ethereum/solidity/issues/4116 for more).Other options include
homestead
,spuriousDragon
andtangerineWhistle
. It would make sense to support this option so that those requiring it could resort to the old, unsafe, behaviour.