Whenever I use pragma experimental ABIEncoderV2 and truffle, I get the following warning in the terminal:

Warning: Experimental features are turned on. Do not use experimental features on live deployments.

Is there any way to turn it off, at least for development?


Even if "silencing warnings" has been debated for a long time (https://github.com/ethereum/solidity/issues/2691 and https://github.com/ethereum/solidity/issues/2675), it is not yet possible to do it.

The explanation why not, is here: https://solidity.readthedocs.io/en/v0.4.25/security-considerations.html#recommendations

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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