add PreventLateQuorum specs

This commit is contained in:
Hadrien Croubois
2023-03-15 16:55:14 +01:00
parent 0874adbd1f
commit 4ea73a8c05
8 changed files with 342 additions and 4 deletions

View File

@ -0,0 +1,14 @@
--- governance/extensions/GovernorPreventLateQuorum.sol 2023-03-07 10:48:47.733488857 +0100
+++ governance/extensions/GovernorPreventLateQuorum.sol 2023-03-15 14:14:59.121060484 +0100
@@ -84,6 +84,11 @@
return _voteExtension;
}
+ // FV
+ function _getExtendedDeadline(uint256 proposalId) internal view returns (uint64) {
+ return _extendedDeadlines[proposalId];
+ }
+
/**
* @dev Changes the {lateQuorumVoteExtension}. This operation can only be performed by the governance executor,
* generally through a governance proposal.