aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-09-06 18:27:22 +0800
committerchriseth <c@ethdev.com>2016-09-06 18:27:22 +0800
commit63ac17044ac868207fabfdd03fdbdc951ed7ce2d (patch)
treed27996e5373c771f6f23ad96d4c1d070fa707ac8
parente2b787cdd0717bf074cc03634d580f7713568792 (diff)
downloaddexon-solidity-63ac17044ac868207fabfdd03fdbdc951ed7ce2d.tar.gz
dexon-solidity-63ac17044ac868207fabfdd03fdbdc951ed7ce2d.tar.zst
dexon-solidity-63ac17044ac868207fabfdd03fdbdc951ed7ce2d.zip
Add "payable" to changelog.
-rw-r--r--Changelog.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/Changelog.md b/Changelog.md
index bd8d924f..3ad56fd7 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -7,13 +7,15 @@ 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;`
+ 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 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
+ function with the payable modifier (contracts now throw if no 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 ``_``