Skip to content

Commit 001079a

Browse files
Add Governor Timelock Control Warning (#3032)
Co-authored-by: Francisco Giordano <[email protected]> (cherry picked from commit e667ec9)
1 parent e21ac7f commit 001079a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contracts/governance/extensions/GovernorTimelockControl.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import "../TimelockController.sol";
1616
* the assets and permissions must be attached to the {TimelockController}. Any asset sent to the {Governor} will be
1717
* inaccessible.
1818
*
19+
* WARNING: Setting up the TimelockController to have additional proposers besides the governor introduces the risk that
20+
* approved governance proposals could be blocked by the other proposers, effectively executing a Denial of Service attack,
21+
* and therefore blocking access to governance-controlled assets.
22+
*
1923
* _Available since v4.3._
2024
*/
2125
abstract contract GovernorTimelockControl is IGovernorTimelock, Governor {

0 commit comments

Comments
 (0)