update governor specs

This commit is contained in:
Hadrien Croubois
2023-03-13 17:26:38 +01:00
parent 4b11b4d3a6
commit c33e7bd340
10 changed files with 144 additions and 46 deletions

View File

@ -0,0 +1,14 @@
--- governance/extensions/GovernorTimelockControl.sol 2023-03-07 10:48:47.733488857 +0100
+++ governance/extensions/GovernorTimelockControl.sol 2023-03-13 16:18:10.255122179 +0100
@@ -84,6 +84,11 @@
return eta == 1 ? 0 : eta; // _DONE_TIMESTAMP (1) should be replaced with a 0 value
}
+ // FV
+ function _proposalQueueId(uint256 proposalId) internal view returns (bytes32) {
+ return _timelockIds[proposalId];
+ }
+
/**
* @dev Function to queue a proposal to the timelock.
*/