Skip to content

Commit

Permalink
Clarify voting period is in blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlaprade committed Dec 10, 2024
1 parent 3ed2b46 commit 344c5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/FractionalGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract FractionalGovernor is GovernorVotes, GovernorCountingFractional {
}

function votingPeriod() public pure override returns (uint256) {
return 50_400; // 7 days assuming 12 second block times
return 50_400; // 50k blocks = 7 days assuming 12 second block times.
}

function exposed_quorumReached(uint256 _proposalId) public view returns (bool) {
Expand Down

0 comments on commit 344c5a2

Please sign in to comment.