Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit e667ec9

Browse files
Add Governor Timelock Control Warning (OpenZeppelin#3032)
Co-authored-by: Francisco Giordano <[email protected]>
1 parent 5ac4d93 commit e667ec9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contracts/governance/extensions/GovernorTimelockControl.sol

+4
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)