Questions on Pausability and selfdestruct
Functions
#34
-
Hi, two quick questions: What was the reasoning for making the Create2Deployer contract implement selfdestruct and the pausable interface? What other issues might arise in the future using somebody else's Create2Deployer contract? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, maybe to give some context for other people, the discussion relates to the underlying Everything is open-source; anyone can redeploy the |
Beta Was this translation helpful? Give feedback.
-
Note: As of 8 December 2023, all non-deprecated |
Beta Was this translation helpful? Give feedback.
Hi,
maybe to give some context for other people, the discussion relates to the underlying
Create2Deployer
contract. So the reasoning at the beginning was that in case something does not work smoothly during theCREATE2
deployment, I could disable thedeploy
(anddeployERC1820Implementer
) functionality in order to debug without having people wasting money on potential flawed deployments. However, after so many months it seems everything works as intended - so this is more of a legacy, debugging feature I kept for all contracts in order to be the same on all chains. Theselfdestruct
possibility was/is there in order for me to replay theCREATE2
feature of deploying, destructing and redeploy…