diff options
author | chriseth <c@ethdev.com> | 2017-03-10 00:03:53 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-03-14 21:21:33 +0800 |
commit | 47cd8964b8617e5c7e93232719224c8334a4c764 (patch) | |
tree | ea29137b7c499b0ddbef1e62bb8a4d401c694224 /Changelog.md | |
parent | 9aab3b8639afa6e30e866e052a412b6f39c6ef6c (diff) | |
download | dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar.gz dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar.bz2 dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar.lz dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar.xz dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.tar.zst dexon-solidity-47cd8964b8617e5c7e93232719224c8334a4c764.zip |
Require and Assert.
Diffstat (limited to 'Changelog.md')
-rw-r--r-- | Changelog.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Changelog.md b/Changelog.md index 8e9780c0..7cb1f562 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,8 +1,9 @@ ### 0.4.10 (unreleased) Features: + * Add ``assert(condition)``, which throws if condition is false (meant for internal errors). + * Add ``require(condition)``, which throws if condition is false (meant for invalid input). * Commandline interface: Do not overwrite files unless forced. - * Add ``assert(condition)``, which throws if condition is false. * Introduce ``.transfer(value)`` for sending Ether. * Code generator: Support ``revert()`` to abort with rolling back, but not consuming all gas. * Inline assembly: Support ``revert`` (EIP140) as an opcode. |