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
93269dee
Commit
93269dee
authored
Nov 18, 2021
by
github-actions
Browse files
Options
Browse Files
Download
Plain Diff
Merge upstream release-v4.4 into patched/release-v4.4
parents
5b5e3823
a4cee9ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GovernorSettings.sol
contracts/governance/extensions/GovernorSettings.sol
+3
-3
No files found.
contracts/governance/extensions/GovernorSettings.sol
View file @
93269dee
...
...
@@ -58,7 +58,7 @@ abstract contract GovernorSettings is Governor {
*
* Emits a {VotingDelaySet} event.
*/
function setVotingDelay(uint256 newVotingDelay) public onlyGovernance {
function setVotingDelay(uint256 newVotingDelay) public
virtual
onlyGovernance {
_setVotingDelay(newVotingDelay);
}
...
...
@@ -67,7 +67,7 @@ abstract contract GovernorSettings is Governor {
*
* Emits a {VotingPeriodSet} event.
*/
function setVotingPeriod(uint256 newVotingPeriod) public onlyGovernance {
function setVotingPeriod(uint256 newVotingPeriod) public
virtual
onlyGovernance {
_setVotingPeriod(newVotingPeriod);
}
...
...
@@ -76,7 +76,7 @@ abstract contract GovernorSettings is Governor {
*
* Emits a {ProposalThresholdSet} event.
*/
function setProposalThreshold(uint256 newProposalThreshold) public onlyGovernance {
function setProposalThreshold(uint256 newProposalThreshold) public
virtual
onlyGovernance {
_setProposalThreshold(newProposalThreshold);
}
...
...
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