Skip to content

Commit

Permalink
interface fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
novaknole committed Sep 29, 2024
1 parent ca42cc3 commit 8b97ab6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/contracts/src/core/dao/DAO.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ contract DAO is
) external onlyCallAtInitialization reinitializer(3) {
_reentrancyStatus = _NOT_ENTERED; // added in v1.3.0

// In addition to the current interfaceId, also support previous version of the interfaceId.
_registerInterface(type(IDAO).interfaceId ^ IExecutor.execute.selector);

_registerInterface(type(IDAO).interfaceId);
_registerInterface(type(IExecutor).interfaceId);
_registerInterface(type(IERC1271).interfaceId);
Expand Down Expand Up @@ -214,6 +217,7 @@ contract DAO is
_permissionId: keccak256("SET_SIGNATURE_VALIDATOR_PERMISSION")
});

_registerInterface(type(IDAO).interfaceId);
_registerInterface(type(IExecutor).interfaceId);
}
}
Expand Down

0 comments on commit 8b97ab6

Please sign in to comment.