From 33cc201f33b4520bf7144c59b081ad81cf4acc76 Mon Sep 17 00:00:00 2001 From: SoraSuegami Date: Tue, 22 Oct 2024 02:14:26 +0900 Subject: [PATCH] Remove IDKIMRegistryExt --- packages/contracts/UserOverrideableDKIMRegistry.sol | 4 ++-- packages/contracts/interfaces/IDKIMRegistryExt.sol | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 packages/contracts/interfaces/IDKIMRegistryExt.sol diff --git a/packages/contracts/UserOverrideableDKIMRegistry.sol b/packages/contracts/UserOverrideableDKIMRegistry.sol index 94ba375e8..8bb5abb59 100644 --- a/packages/contracts/UserOverrideableDKIMRegistry.sol +++ b/packages/contracts/UserOverrideableDKIMRegistry.sol @@ -2,7 +2,7 @@ pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; -import "./interfaces/IDKIMRegistryExt.sol"; +import "./interfaces/IDKIMRegistry.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import {MessageHashUtils} from "@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol"; import {IERC1271} from "@openzeppelin/contracts/interfaces/IERC1271.sol"; @@ -17,7 +17,7 @@ import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/Own Additionally, the public key can be revoked by the signature of either the user or the main authorizer alone. */ contract UserOverrideableDKIMRegistry is - IDKIMRegistryExt, + IDKIMRegistry, OwnableUpgradeable, UUPSUpgradeable { diff --git a/packages/contracts/interfaces/IDKIMRegistryExt.sol b/packages/contracts/interfaces/IDKIMRegistryExt.sol deleted file mode 100644 index 844220bb5..000000000 --- a/packages/contracts/interfaces/IDKIMRegistryExt.sol +++ /dev/null @@ -1,12 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; - -import "./IDKIMRegistry.sol"; - -interface IDKIMRegistryExt is IDKIMRegistry { - function isDKIMPublicKeyHashValid( - string memory domainName, - bytes32 publicKeyHash, - address authorizer - ) external view returns (bool); -}