Closed entropidelic closed 3 weeks ago
We are currently using the OpenZeppelin contracts from eigenlayer-middleware
, but the contract with Ownable2StepUpgradeable
is not yet available on the Eigenlayer side. To maintain consistency between the contract versions we are using, we should wait for them to add it before address this.
OwnableUpgradeable
has a shortcoming that it allows the owner to transfer ownership to a non-existent or mistyped address. This can lead to a loss of control over the contract.Ownable2StepUpgradeable
is a more secure alternative.Reference: Openzeppelin Ownable: Use Ownable2Step Instead