Skip to content

Commit

Permalink
refactor(world): delegation control extends System (#2125)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaa authored Jan 15, 2024
1 parent d00c4a9 commit 942f20e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/world/src/DelegationControl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pragma solidity >=0.8.21;

import { WorldContextConsumer } from "./WorldContext.sol";
import { System } from "./System.sol";
import { IDelegationControl, DELEGATION_CONTROL_INTERFACE_ID } from "./IDelegationControl.sol";
import { WORLD_CONTEXT_CONSUMER_INTERFACE_ID } from "./IWorldContextConsumer.sol";
import { IERC165, ERC165_INTERFACE_ID } from "./IERC165.sol";
Expand All @@ -11,7 +12,7 @@ import { IERC165, ERC165_INTERFACE_ID } from "./IERC165.sol";
* @dev Abstract contract to manage delegations and check interface support.
* Inherits functionalities from WorldContextConsumer and IDelegationControl.
*/
abstract contract DelegationControl is WorldContextConsumer, IDelegationControl {
abstract contract DelegationControl is System, IDelegationControl {
/**
* @notice Check if the given interfaceId is supported by this contract.
* @dev Overrides the functionality from IERC165 and WorldContextConsumer to check for supported interfaces.
Expand Down

0 comments on commit 942f20e

Please sign in to comment.