Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
e667ec95
Unverified
Commit
e667ec95
authored
Dec 20, 2021
by
JulissaDantes
Committed by
GitHub
Dec 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Governor Timelock Control Warning (#3032)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
parent
5ac4d93a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
GovernorTimelockControl.sol
contracts/governance/extensions/GovernorTimelockControl.sol
+4
-0
No files found.
contracts/governance/extensions/GovernorTimelockControl.sol
View file @
e667ec95
...
@@ -16,6 +16,10 @@ import "../TimelockController.sol";
...
@@ -16,6 +16,10 @@ import "../TimelockController.sol";
* the assets and permissions must be attached to the {TimelockController}. Any asset sent to the {Governor} will be
* the assets and permissions must be attached to the {TimelockController}. Any asset sent to the {Governor} will be
* inaccessible.
* inaccessible.
*
*
* WARNING: Setting up the TimelockController to have additional proposers besides the governor introduces the risk that
* approved governance proposals could be blocked by the other proposers, effectively executing a Denial of Service attack,
* and therefore blocking access to governance-controlled assets.
*
* _Available since v4.3._
* _Available since v4.3._
*/
*/
abstract contract GovernorTimelockControl is IGovernorTimelock, Governor {
abstract contract GovernorTimelockControl is IGovernorTimelock, Governor {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment