From 6bdff7f79ac9d561763840ecf9554147a1a8ac4d Mon Sep 17 00:00:00 2001 From: Chris Zimmerman Date: Mon, 8 Oct 2018 12:09:51 -0400 Subject: Adds deprecation reminder for constant modifier in Solidity English documentation. --- solidity.html.markdown | 1 + 1 file changed, 1 insertion(+) (limited to 'solidity.html.markdown') diff --git a/solidity.html.markdown b/solidity.html.markdown index 004c225e..c0074b33 100644 --- a/solidity.html.markdown +++ b/solidity.html.markdown @@ -111,6 +111,7 @@ contract SimpleBank { // CapWords /// @return The balance of the user // 'constant' prevents function from editing state variables; // allows function to run locally/off blockchain + // NOTE: 'constant' on functions is an alias to 'view', but this is deprecated and is planned to be dropped in version 0.5.0. function balance() constant public returns (uint) { return balances[msg.sender]; } -- cgit v1.2.3