Commit bc5c8e2c by Francisco Giordano

Improve wording of recommendation in Initializable

parent 7237b167
...@@ -18,10 +18,9 @@ pragma solidity ^0.8.0; ...@@ -18,10 +18,9 @@ pragma solidity ^0.8.0;
* ==== * ====
* Avoid leaving a contract uninitialized. * Avoid leaving a contract uninitialized.
* *
* An uninitialized contract can be used in certain kinds of exploits since it may allow an attacker to take control of * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
* the contract. This includes the implementation contract behind a proxy. You can either invoke the initializer * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
* manually, independently of initialization of the proxy, or you can include a constructor to automatically mark it as * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
* initialized when it is deployed:
* *
* [.hljs-theme-light.nopadding] * [.hljs-theme-light.nopadding]
* ``` * ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment