From 1ebf3558d3570864a5635d6efd7f7554dce411a9 Mon Sep 17 00:00:00 2001 From: bowd Date: Sun, 18 Aug 2024 20:11:24 +0200 Subject: [PATCH] fix: make helpers public --- src/CeloChains.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CeloChains.sol b/src/CeloChains.sol index de4c98c..021c5a9 100644 --- a/src/CeloChains.sol +++ b/src/CeloChains.sol @@ -42,19 +42,19 @@ abstract contract CeloChains is StdChains { /// @notice Determine if the current chain is Celo. /// @return true if the current chain is Celo. - function isCelo() internal view returns (bool) { + function isCelo() public view returns (bool) { return block.chainid == CELO_ID; } /// @notice Determine if the current chain is Baklava. /// @return true if the current chain is Baklava. - function isBaklava() internal view returns (bool) { + function isBaklava() public view returns (bool) { return block.chainid == BAKLAVA_ID; } /// @notice Determine if the current chain is Alfajores. /// @return true if the current chain is Alfajores. - function isAlfajores() internal view returns (bool) { + function isAlfajores() public view returns (bool) { return block.chainid == ALFAJORES_ID; }