Skip to content

Commit ce9e2ca

Browse files
refactor: change governors params for testing purposes
1 parent e6bdbd6 commit ce9e2ca

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

contracts/Governor.sol

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@ contract RootDao is
2929
_disableInitializers();
3030
}
3131

32-
function initialize(
33-
IVotes voteToken,
34-
TimelockControllerUpgradeable timelockController,
35-
address initialOwner
36-
) public initializer {
37-
__Governor_init("RootDao");
38-
__GovernorSettings_init(7200 /* 1 day */, 50400 /* 1 week */, 10 * 10 ** 18);
39-
__GovernorCountingSimple_init();
40-
__GovernorStorage_init();
41-
__GovernorVotes_init(voteToken);
42-
__GovernorVotesQuorumFraction_init(4);
43-
__GovernorTimelockControl_init(timelockController);
44-
__Ownable_init(initialOwner);
45-
__UUPSUpgradeable_init();
46-
}
32+
function initialize(
33+
IVotes voteToken,
34+
TimelockControllerUpgradeable timelockController,
35+
address initialOwner
36+
) public initializer {
37+
__Governor_init("RootDao");
38+
__GovernorSettings_init(1 /* 1 day */, 60 /* 1 week */, 10 * 10 ** 18);
39+
__GovernorCountingSimple_init();
40+
__GovernorStorage_init();
41+
__GovernorVotes_init(voteToken);
42+
__GovernorVotesQuorumFraction_init(4);
43+
__GovernorTimelockControl_init(timelockController);
44+
__Ownable_init(initialOwner);
45+
__UUPSUpgradeable_init();
46+
}
4747

4848
function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}
4949

0 commit comments

Comments
 (0)