From 355c33904cf9becbec996b391e05642faeeb573d Mon Sep 17 00:00:00 2001 From: Entreprenerd Date: Thu, 30 Jun 2022 16:40:46 +0200 Subject: [PATCH] fix: make sure`DEPLOY_TIME` is `immutable` --- contracts/RewardsManager.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/RewardsManager.sol b/contracts/RewardsManager.sol index 4b7682f..57abc20 100644 --- a/contracts/RewardsManager.sol +++ b/contracts/RewardsManager.sol @@ -73,7 +73,7 @@ contract RewardsManager is ReentrancyGuard { using SafeERC20 for IERC20; - uint256 public DEPLOY_TIME; // NOTE: Must be `immutable`, remove `immutable` for coverage report + uint256 public immutable DEPLOY_TIME; // NOTE: Must be `immutable`, remove `immutable` for coverage report uint256 public constant SECONDS_PER_EPOCH = 604800; // One epoch is one week // This allows to specify rewards on a per week basis, making it easier to interact with contract