diff options
author | chriseth <c@ethdev.com> | 2017-01-27 17:18:53 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-01-27 17:18:53 +0800 |
commit | bff8fc23e6cc602511b52aaa665e63b948eba068 (patch) | |
tree | 79856f29934753d281d2e54bf983a6df66585266 /docs | |
parent | 7660736aa269c69a69ef728924f566d72661638a (diff) | |
download | dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.gz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.bz2 dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.lz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.xz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.zst dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.zip |
Changelog and review suggestions.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/control-structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index d7005717..ff9b245a 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -397,7 +397,7 @@ Currently, Solidity automatically generates a runtime exception in the following #. If you call a zero-initialized variable of internal function type. Internally, Solidity performs an "invalid jump" when a user-provided exception is thrown. In contrast, it performs an invalid operation -(code ``0xfe``) if a runtime exception is encountered. In both cases, this causes +(instruction ``0xfe``) if a runtime exception is encountered. In both cases, this causes the EVM to revert all changes made to the state. The reason for this is that there is no safe way to continue execution, because an expected effect did not occur. Because we want to retain the atomicity of transactions, the safest thing to do is to revert all changes and make the whole transaction (or at least call) without effect. |