You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @godfreyhobbs! It looks like a bug in our docs generation. That page shouldn't exist; note that Destructible is not in the sidebar for 2.0.0.
Please take a look at #1254 for the reasons for removing Destructible.
I think it is a useful tool especially when doing iterations on testnet.
This is a very interesting point. We removed the feature because we consider it dangerous on mainnet, but I can see how it can be useful in some testing workflows. I'll keep this in mind but unfortunately the other point is kind of a deal breaker.
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
The text was updated successfully, but these errors were encountered: