From 03ef5bfd5ea989503489a55d9cbf4d212943afba Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Mon, 10 Oct 2016 22:06:19 +0200 Subject: Various fixes based on comments on #1167 --- docs/miscellaneous.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') 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) ***************** -- cgit v1.2.3