aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2018-04-16 05:12:28 +0800
committerLefteris Karapetsas <lefteris@refu.co>2018-04-16 05:12:28 +0800
commit8a7224683b8fbf7c822922dca35ee2eda8e41d79 (patch)
tree4151fa8699b050bac6fe919d3d6ba51115ffd29b /docs/contracts.rst
parent73ca3e8a1eaf929dac60ce0a154975fa46b2040e (diff)
downloaddexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.tar.gz
dexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.tar.zst
dexon-solidity-8a7224683b8fbf7c822922dca35ee2eda8e41d79.zip
Docs: Update solidity version for revert with reason
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 0c697dd6..dfd2e8a6 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -301,7 +301,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
::
- pragma solidity ^0.4.11;
+ pragma solidity ^0.4.22;
contract owned {
function owned() public { owner = msg.sender; }
@@ -1215,7 +1215,7 @@ more advanced example to implement a set).
::
- pragma solidity ^0.4.16;
+ pragma solidity ^0.4.22;
library Set {
// We define a new struct datatype that will be used to