Experimental Features Enabled
Description
Enabling experimental features may introduce unknown risks and instability to the smart contract. Some features may not have been fully tested or audited and may be subject to vulnerabilities that can be exploited by malicious actors.
Example Code
pragma solidity ^0.8.0;
// enabling an experimental feature
pragma experimental ABIEncoderV2;
contract ExampleContract {
// ...
}
Recommendation
It is recommended to avoid enabling experimental features unless it is absolutely necessary and thoroughly tested in a development environment. When using experimental features, the contract should be audited more carefully to ensure that the feature is being used safely and properly.