Skip to content

Commit 885407b

Browse files
committed
Added sentence about explicit requirement for 'memory' and 'storage' keywords.
1 parent d6f19be commit 885407b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ This means that `unlocked` can be directly modified, simply by the `bytes32 _nam
14441444

14451445
<h3 id="storage-prev">Preventative Techniques</h3>
14461446

1447-
The Solidity compiler raises unintialised storage variables as warnings, thus developers should pay careful attention to these warnings when building smart contracts. The current version of mist (0.10), doesn't allow these contracts to be compiled. It is often good practice to explicitly use the `memory` or `storage` when dealing with complex types to ensure they behave as expected. (NOTE: explicit use of `memory` and `storage` are required as of `0.5.0`)
1447+
The Solidity compiler raises unintialised storage variables as warnings, thus developers should pay careful attention to these warnings when building smart contracts. The current version of mist (0.10), doesn't allow these contracts to be compiled. It is good practice to explicitly use the `memory` or `storage` keywords when dealing with complex types to ensure they behave as expected. As of Solidity version `0.5.0` use of `memory` and `storage` are mandatory.
14481448

14491449
<h3 id="storage-example">Real-World Examples: Honey Pots: OpenAddressLottery and CryptoRoulette</h3>
14501450

0 commit comments

Comments
 (0)