aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-09-06 18:55:02 +0800
committerGitHub <noreply@github.com>2016-09-06 18:55:02 +0800
commit5535f96e2ce19b58f532ce6203cc749f487de053 (patch)
treedbb13330e48e500dba9a48360bb9871a81a02ee3
parent71a4074ad03845e9651fe80fd16337958f847dc9 (diff)
parent765a3d752948b680cbab021014a1a1bac1a2ccd2 (diff)
downloaddexon-solidity-5535f96e2ce19b58f532ce6203cc749f487de053.tar.gz
dexon-solidity-5535f96e2ce19b58f532ce6203cc749f487de053.tar.zst
dexon-solidity-5535f96e2ce19b58f532ce6203cc749f487de053.zip
Merge pull request #1022 from ethereum/changelogpay
Add "payable" to changelog.
-rw-r--r--Changelog.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/Changelog.md b/Changelog.md
index 216b5cf4..e0967243 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -7,13 +7,16 @@ enforce some safety features. The most important change is
Breaking Changes:
* Source files have to specify the compiler version they are
- compatible with using e.g. `pragma solidity ^0.4.0;` or
- `pragma solidity >=0.4.0 <0.4.8;`
- * Contracts that want to receive Ether have to implement a fallback
- function (contracts now throw if no fallback function is defined
- and no function matches the signature).
- * Failing contract creation through "new" throws now.
- * Throw on division / modulus by zero
+ compatible with using e.g. ``pragma solidity ^0.4.0;`` or
+ ``pragma solidity >=0.4.0 <0.4.8;``
+ * Functions that want to receive Ether have to specify the
+ new ``payable`` modifier (otherwise they throw).
+ * Contracts that want to receive Ether with a plain "send"
+ have to implement a fallback function with the ``payable``
+ modifier. Contracts now throw if no payable fallback
+ function is defined and no function matches the signature.
+ * Failing contract creation through "new" throws.
+ * Division / modulus by zero throws
* Function call throws if target contract does not have code
* Modifiers are required to contain ``_`` (use ``if (false) _`` as a workaround if needed).
* Modifiers: return does not skip part in modifier after ``_``