mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clarify code state of contracts under construction.
This commit is contained in:
parent
016f562348
commit
0f7e18780f
@ -326,7 +326,13 @@ EVM bytecode and executed. The output of this execution is
|
|||||||
permanently stored as the code of the contract.
|
permanently stored as the code of the contract.
|
||||||
This means that in order to create a contract, you do not
|
This means that in order to create a contract, you do not
|
||||||
send the actual code of the contract, but in fact code that
|
send the actual code of the contract, but in fact code that
|
||||||
returns that code.
|
returns that code when executed.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
While a contract is being created, its code is still empty.
|
||||||
|
Because of that, you should not call back into the
|
||||||
|
contract under construction until its constructor has
|
||||||
|
finished executing.
|
||||||
|
|
||||||
.. index:: ! gas, ! gas price
|
.. index:: ! gas, ! gas price
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user