diff options
author | chriseth <c@ethdev.com> | 2016-08-26 23:00:26 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-08-30 21:32:28 +0800 |
commit | eb241ff1b30ca32aaba0a455c0aa74cbb868c405 (patch) | |
tree | 14904f96ed74e05e652f5a4851120abc95e53747 /docs/contracts.rst | |
parent | 546aca2a3ec11df5b54d5a3d01948ebc3d830163 (diff) | |
download | dexon-solidity-eb241ff1b30ca32aaba0a455c0aa74cbb868c405.tar.gz dexon-solidity-eb241ff1b30ca32aaba0a455c0aa74cbb868c405.tar.zst dexon-solidity-eb241ff1b30ca32aaba0a455c0aa74cbb868c405.zip |
Documentation.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index d3a89c1e..234ab46a 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -447,6 +447,11 @@ In particular, the following operations will consume more gas than the stipend p Please ensure you test your fallback function thoroughly to ensure the execution cost is less than 2300 gas before deploying a contract. +.. warning:: + The default fallback function will throw an exception (this was different + before Solidity v0.4.0), so if you want your contract to receive Ether, + you have to implement a fallback function. + :: contract Test { |