Skip to content

Commit

Permalink
Shortened error message in InitializeGovernedUpgradeabilityProxy.init…
Browse files Browse the repository at this point in the history
…ialize
  • Loading branch information
naddison36 committed May 22, 2024
1 parent 117d09f commit 607a886
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ contract InitializeGovernedUpgradeabilityProxy is Governable {
bytes calldata _data
) public payable onlyGovernor {
require(_implementation() == address(0));
require(
_logic != address(0),
"Implementation logic can not be 0 address"
);
require(_logic != address(0), "Implementation not set");
assert(
IMPLEMENTATION_SLOT ==
bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)
Expand Down

0 comments on commit 607a886

Please sign in to comment.