Skip to content

Commit

Permalink
evm: remove duplicate event
Browse files Browse the repository at this point in the history
  • Loading branch information
gator-boi committed Apr 22, 2024
1 parent e39bff2 commit e98f021
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions evm/src/shared/Admin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,13 @@ abstract contract Admin is IAdmin, Implementation {
// Events.
event OwnershipTransfered(address indexed oldOwner, address indexed newOwner);
event IsPaused(bool paused);
event ContractUpgraded(address indexed newContract);

/// @inheritdoc IAdmin
function upgradeContract(address newImplementation) external onlyOwner {
if (newImplementation == address(0)) {
revert InvalidAddress();
}
_upgrade(newImplementation);

emit ContractUpgraded(newImplementation);
}

/// @inheritdoc IAdmin
Expand Down

0 comments on commit e98f021

Please sign in to comment.