fix maximum settable configs

This commit is contained in:
Thrilok kumar 2024-02-06 02:14:55 +05:30
parent f7695cc94c
commit bcd9b7a01b

View File

@ -20,16 +20,16 @@ contract InstaGovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorB
uint public constant MAX_PROPOSAL_THRESHOLD = 50000000e18; // 5,000,000 uint public constant MAX_PROPOSAL_THRESHOLD = 50000000e18; // 5,000,000
/// @notice The minimum setable voting period /// @notice The minimum setable voting period
uint public constant MIN_VOTING_PERIOD = 5760; // About 24 hours uint public constant MIN_VOTING_PERIOD = 7200; // About 24 hours, 12s per block
/// @notice The max setable voting period /// @notice The max setable voting period
uint public constant MAX_VOTING_PERIOD = 80640; // About 2 weeks uint public constant MAX_VOTING_PERIOD = 100800; // About 2 weeks, 12s per block
/// @notice The min setable voting delay /// @notice The min setable voting delay
uint public constant MIN_VOTING_DELAY = 1; uint public constant MIN_VOTING_DELAY = 1;
/// @notice The max setable voting delay /// @notice The max setable voting delay
uint public constant MAX_VOTING_DELAY = 40320; // About 1 week uint public constant MAX_VOTING_DELAY = 50400; // About 1 week, 12s per block
/// @notice The number of votes in support of a proposal required in order for a quorum to be reached and for a vote to succeed /// @notice The number of votes in support of a proposal required in order for a quorum to be reached and for a vote to succeed
uint public constant quorumVotes = 4000000e18; // 4,000,000 uint public constant quorumVotes = 4000000e18; // 4,000,000