Skip to content

Commit

Permalink
Fix visibility of newly added Domain functions
Browse files Browse the repository at this point in the history
  • Loading branch information
telome committed Aug 21, 2024
1 parent 725dc12 commit f2a2b2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domains/Domain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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));
}

Expand Down

0 comments on commit f2a2b2b

Please sign in to comment.