mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Expand docs on mixed ABIEncoderV2 and V1 use
This commit is contained in:
parent
94a49fcc4a
commit
692e4487ba
@ -111,6 +111,14 @@ activate it using ``pragma experimental ABIEncoderV2;`` - we kept
|
||||
the same pragma, even though it is not considered experimental
|
||||
anymore.
|
||||
|
||||
The set of types supported by the new encoder is a strict superset of
|
||||
the ones supported by the old one. Contracts that use it can interact with ones
|
||||
that do not without limitations. The reverse is possible only as long as the
|
||||
non-``ABIEncoderV2`` contract does not try to make calls that would require
|
||||
decoding types only supported by the new encoder. The compiler can detect this
|
||||
and will issue an error. Simply enabling ``ABIEncoderV2`` for your contract is
|
||||
enough to make the error go away.
|
||||
|
||||
.. _smt_checker:
|
||||
|
||||
SMTChecker
|
||||
|
Loading…
Reference in New Issue
Block a user