diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-10-11 04:06:19 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-10-12 15:35:05 +0800 |
commit | 03ef5bfd5ea989503489a55d9cbf4d212943afba (patch) | |
tree | 6bd5f6c20d389caa72dd82e398b251542b97ac3d /docs | |
parent | 8f59ec791ebde3d09d73af0db40e26cf98a843e3 (diff) | |
download | dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar.gz dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar.bz2 dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar.lz dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar.xz dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.tar.zst dexon-solidity-03ef5bfd5ea989503489a55d9cbf4d212943afba.zip |
Various fixes based on comments on #1167
Diffstat (limited to 'docs')
-rw-r--r-- | docs/miscellaneous.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index f72c1195..fcd2224d 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -65,11 +65,12 @@ A Solidity contract throws an exception for unhealthy operations such as - division by zero - modulo by zero - out-of-bounds index access on an array -- out-of-bounds index access on a fixed length bytes -- a Ether transfer seen by a function without ``payable`` mofifier except when the function is a library function +- out-of-bounds index access on a fixed-length bytes +- an Ether transfer through an interface function that is not specified as ``payable`` - execution of ``throw;`` -- a contract invocation with no matching interface function or a fallback function -- an external call in an exceptional state, for instance, out of gas, invalid jump destination, and so on (however, low level ``call``, ``send``, ``delegatecall`` and ``callcode`` just return zero for such cases). +- a contract invocation with no matching interface or fallback function +- an external call in an exceptional state, for instance, out of gas, invalid jump destination, and so on (however, low level ``call``, ``send``, ``delegatecall`` and ``callcode`` just return zero for such cases) +- an external call on a Solidity contract that throws (again, if the external call is made through a low level operation ``call``, ``send``, ``delegatecall`` or ``callcode`` the caller does not throw an exception but just sees a zero return value by default) ***************** |