From f2a2b2bbea71921103c5b7cf3cb1d241b957bec7 Mon Sep 17 00:00:00 2001 From: telome <> Date: Wed, 21 Aug 2024 12:59:22 +0200 Subject: [PATCH] Fix visibility of newly added Domain functions --- src/domains/Domain.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domains/Domain.sol b/src/domains/Domain.sol index f6f9c78..30c0ba6 100644 --- a/src/domains/Domain.sol +++ b/src/domains/Domain.sol @@ -39,7 +39,7 @@ contract Domain { vm.makePersistent(address(this)); } - function hasConfigKey(string memory key) internal view returns (bool) { + function hasConfigKey(string memory key) public view returns (bool) { bytes memory raw = config.parseRaw(string.concat(".domains.", _details.chainAlias, ".", key)); return raw.length > 0; } @@ -52,7 +52,7 @@ contract Domain { return config.readAddress(string.concat(".domains.", _details.chainAlias, ".", key)); } - function readConfigAddresses(string memory key) internal view returns (address[] memory) { + function readConfigAddresses(string memory key) public view returns (address[] memory) { return config.readAddressArray(string.concat(".domains.", _details.chainAlias, ".", key)); }