Skip to content

Commit cbb94fa

Browse files
committed
Remove Ownable from Registry.sol
Registry does not need Ownable to track owner of itself as it is being tracked in registry mapping itself as a module. We need to remove it to avoid inconsistent values in two ownership variables _owner from Ownable and registry mapping
1 parent 9a0e156 commit cbb94fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contracts/v3/core/Registry.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ pragma solidity ^0.7.0;
22

33
// SPDX-License-Identifier: MIT
44

5-
import '../utils/Ownable.sol';
65
import '../adapters/interfaces/IOnboarding.sol';
76
import './Module.sol';
87

9-
contract Registry is Ownable, Module {
8+
contract Registry is Module {
109
mapping(bytes32 => address) registry;
1110
mapping(address => bytes32) inverseRegistry;
1211

0 commit comments

Comments
 (0)