Merge pull request #11301 from ra-phael/docs-clarify-init-value

[Docs] Clarify initialisation value of state variables
This commit is contained in:
Kamil Śliwak 2021-04-23 22:37:59 +02:00 committed by GitHub
commit 9439ff8b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -388,7 +388,7 @@ which is executed upon contract creation, and where you can run contract
initialisation code. initialisation code.
Before the constructor code is executed, state variables are initialised to Before the constructor code is executed, state variables are initialised to
their specified value if you initialise them inline, or zero if you do not. their specified value if you initialise them inline, or their :ref:`default value<default-value>` if you do not.
After the constructor has run, the final code of the contract is deployed After the constructor has run, the final code of the contract is deployed
to the blockchain. The deployment of to the blockchain. The deployment of