diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 03:04:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 03:04:13 +0800 |
commit | 56eb9dd47fb413f243f89f5010badeccba0fbce9 (patch) | |
tree | 8406ab12c52b9de8669713856198faed10303ec4 /docs/security-considerations.rst | |
parent | fc6eee02806ad007992c93cd90f7ce7bdd28556c (diff) | |
parent | e3e9ce53d7c8d5c1228ad7165660c8cb014b0f36 (diff) | |
download | dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.gz dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.bz2 dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.lz dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.xz dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.zst dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.zip |
Merge pull request #4193 from ethereum/050-version
Set version to 0.5.0-develop
Diffstat (limited to 'docs/security-considerations.rst')
-rw-r--r-- | docs/security-considerations.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/security-considerations.rst b/docs/security-considerations.rst index 8df12b7c..3305c1e1 100644 --- a/docs/security-considerations.rst +++ b/docs/security-considerations.rst @@ -55,7 +55,7 @@ complete contract): :: - pragma solidity ^0.4.0; + pragma solidity >=0.4.0 <0.6.0; // THIS CONTRACT CONTAINS A BUG - DO NOT USE contract Fund { @@ -78,7 +78,7 @@ as it uses ``call`` which forwards all remaining gas by default: :: - pragma solidity ^0.4.0; + pragma solidity >=0.4.0 <0.6.0; // THIS CONTRACT CONTAINS A BUG - DO NOT USE contract Fund { @@ -97,7 +97,7 @@ outlined further below: :: - pragma solidity ^0.4.11; + pragma solidity >=0.4.11 <0.6.0; contract Fund { /// Mapping of ether shares of the contract. @@ -182,7 +182,7 @@ Never use tx.origin for authorization. Let's say you have a wallet contract like :: - pragma solidity >0.4.24; + pragma solidity >0.4.99 <0.6.0; // THIS CONTRACT CONTAINS A BUG - DO NOT USE contract TxUserWallet { @@ -202,7 +202,7 @@ Now someone tricks you into sending ether to the address of this attack wallet: :: - pragma solidity >0.4.24; + pragma solidity >0.4.99 <0.6.0; interface TxUserWallet { function transferTo(address payable dest, uint amount) external; |