Skip to content

Commit

Permalink
chore: small constant modification
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Apr 11, 2024
1 parent 73d41e6 commit 039505e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/VoteWeighting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 039505e

Please sign in to comment.