From 039505e0cfbd3b645328205b25f6358174af2dfe Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Thu, 11 Apr 2024 19:41:33 +0100 Subject: [PATCH] chore: small constant modification --- contracts/VoteWeighting.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/VoteWeighting.sol b/contracts/VoteWeighting.sol index 9ca6a52..9256f72 100644 --- a/contracts/VoteWeighting.sol +++ b/contracts/VoteWeighting.sol @@ -52,11 +52,11 @@ contract VoteWeighting is IErrors { event NewNominee(address nominee, uint256 chainId); // 7 * 86400 seconds - all future times are rounded by week - uint256 public constant WEEK = 604800; + uint256 public constant WEEK = 604_800; // Cannot change weight votes more often than once in 10 days - uint256 public constant WEIGHT_VOTE_DELAY = 864000; + uint256 public constant WEIGHT_VOTE_DELAY = 864_000; // Max weight amount - uint256 public constant MAX_WEIGHT = 10000; + uint256 public constant MAX_WEIGHT = 10_000; // Maximum chain Id as per EVM specs uint256 public constant MAX_CHAIN_ID = type(uint64).max / 2 - 36; // veOLAS contract address