mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Enable ABI coder v2 by default.
This commit is contained in:
parent
b18c76e34b
commit
d525a8bccb
@ -6,6 +6,7 @@ Breaking Changes:
|
||||
* Code Generator: Cause a panic if a byte array in storage is accessed whose length is encoded incorrectly.
|
||||
* Command Line Interface: Remove the ``--old-reporter`` option.
|
||||
* Command Line Interface: Remove the legacy ``--ast-json`` option. Only the ``--ast-compact-json`` option is supported now.
|
||||
* General: Enable ABI coder v2 by default.
|
||||
* General: Remove global functions ``log0``, ``log1``, ``log2``, ``log3`` and ``log4``.
|
||||
* Standard JSON: Remove the ``legacyAST`` option.
|
||||
* Type Checker: Function call options can only be given once.
|
||||
|
@ -74,7 +74,7 @@ void SyntaxChecker::endVisit(SourceUnit const& _sourceUnit)
|
||||
m_errorReporter.warning(3420_error, {-1, -1, _sourceUnit.location().source}, errorString);
|
||||
}
|
||||
if (!m_sourceUnit->annotation().useABICoderV2.set())
|
||||
m_sourceUnit->annotation().useABICoderV2 = false;
|
||||
m_sourceUnit->annotation().useABICoderV2 = true;
|
||||
m_sourceUnit = nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user