From cc4f3151f3317634f8672d5c973493a7e413f4e2 Mon Sep 17 00:00:00 2001 From: MoonBoi9001 Date: Mon, 30 Sep 2024 16:02:17 +0100 Subject: [PATCH] fix: use new constants in subgraphservice.sol --- .../contracts/data-service/utilities/ProvisionManager.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/horizon/contracts/data-service/utilities/ProvisionManager.sol b/packages/horizon/contracts/data-service/utilities/ProvisionManager.sol index 8608fd2fa..b5c905ad5 100644 --- a/packages/horizon/contracts/data-service/utilities/ProvisionManager.sol +++ b/packages/horizon/contracts/data-service/utilities/ProvisionManager.sol @@ -25,11 +25,11 @@ abstract contract ProvisionManager is Initializable, GraphDirectory, ProvisionMa // Constants uint32 private constant DEFAULT_MIN_VERIFIER_CUT = type(uint32).min; - uint32 private constant DEFAULT_MAX_VERIFIER_CUT = uint32(PPMMath.MAX_PPM); + uint32 internal constant DEFAULT_MAX_VERIFIER_CUT = uint32(PPMMath.MAX_PPM); uint64 private constant DEFAULT_MIN_THAWING_PERIOD = type(uint64).min; - uint64 private constant DEFAULT_MAX_THAWING_PERIOD = type(uint64).max; + uint64 internal constant DEFAULT_MAX_THAWING_PERIOD = type(uint64).max; uint256 private constant DEFAULT_MIN_PROVISION_TOKENS = type(uint256).min; - uint256 private constant DEFAULT_MAX_PROVISION_TOKENS = type(uint256).max; + uint256 internal constant DEFAULT_MAX_PROVISION_TOKENS = type(uint256).max; /** * @notice Emitted when the provision tokens range is set.