Skip to content

Commit 329e8de

Browse files
committed
Fix
1 parent a9e2cd4 commit 329e8de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/sharing-smart-contract/test/invariant/handlers/HandlerGlobal.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {GhostStorage} from "./GhostStorage.sol";
1313
contract HandlerGlobal is Test, GhostStorage {
1414
// ---------------------State Variables------------------------------------
1515
// TODO remove hardcoded values to make tests compatible with any chain.
16-
address public constant POCO_DELEGATE = 0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f;
16+
IPoCo public constant POCO_DELEGATE = IPoCo(0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f);
1717
IRegistry public constant POCO_PROTECTED_DATA_REGISTRY =
1818
IRegistry(0x799DAa22654128d0C64d5b79eac9283008158730);
1919
IDataProtector public constant DATA_PROTECTOR_CORE =
@@ -26,7 +26,7 @@ contract HandlerGlobal is Test, GhostStorage {
2626
constructor() {
2727
address admin = address(54321);
2828
vm.label(admin, "admin");
29-
vm.label(POCO_DELEGATE, "pocoDelegate");
29+
vm.label(address(POCO_DELEGATE), "pocoDelegate");
3030
vm.label(address(POCO_PROTECTED_DATA_REGISTRY), "protectedDataRegistry");
3131

3232
AddOnlyAppWhitelistRegistry appWhitelistImpl = new AddOnlyAppWhitelistRegistry();
@@ -37,7 +37,7 @@ contract HandlerGlobal is Test, GhostStorage {
3737
addOnlyAppWhitelistRegistry.initialize();
3838

3939
DataProtectorSharing dataProtectorSharingImpl = new DataProtectorSharing(
40-
POCO_DELEGATE,
40+
address(POCO_DELEGATE),
4141
POCO_PROTECTED_DATA_REGISTRY,
4242
addOnlyAppWhitelistRegistry
4343
);

0 commit comments

Comments
 (0)