-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Closed
Labels
Description
There is a doc https://openzeppelin.org/api/docs/lifecycle_Destructible.html but there is no code in 2.0
💻 Environment
Just looking at your docs
This is in 2.0 docs.
📝 Details
2.0 does not have a lifecycle_Destructible contract but there is still documentation.
Personally I would like to see a lifecycle/Destructible.sol in v2.0. I think it is a useful tool especially when doing iterations on testnet.
Just view https://openzeppelin.org/api/docs/lifecycle_Destructible.html then click on the link Source: lifecycle/Destructible.sol it opens up v1.12 NOT v2.0.
🔢 Code to reproduce bug
Look at the following, Destructible is not there:
https://github.com/OpenZeppelin/openzeppelin-solidity/tree/release-v2.0.0/contracts/lifecycle