solidity-upgrade can now change now to block.timestamp

This commit is contained in:
Harikrishnan Mulackal
2020-05-05 21:11:15 +05:30
parent a207613f17
commit aed6c22318
7 changed files with 61 additions and 2 deletions
+6
View File
@@ -580,6 +580,12 @@ Available upgrade modules
| | | ``f{gas: ..., value: ...}()`` and |
| | | ``(new C){value: ...}()``. |
+-----------------+---------+--------------------------------------------------+
| ``now`` | 0.7.0 | The ``now`` keyword is deprecated. Use |
| | | ``block.timestamp`` instead. |
| | | |
| | | |
| | | |
+-----------------+---------+--------------------------------------------------+
Please read :doc:`0.5.0 release notes <050-breaking-changes>`,
:doc:`0.6.0 release notes <060-breaking-changes>` and