Skip to content

Commit

Permalink
fix: better variable creation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xShaito committed Oct 23, 2024
1 parent 7cf7b75 commit 571f0a2
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ contract BaseTest is Test, Helpers {
IERC20 public token;

uint256 public constant REVEALING_TIME_WINDOW = 40_000;
uint256 public constant COMMITING_TIME_WINDOW = 40_000;
uint256 public constant START_TIME = 100_000;
uint256 public constant END_TIME = START_TIME + REVEALING_TIME_WINDOW;

Expand Down Expand Up @@ -176,7 +177,7 @@ contract PrivateERC20ResolutionModule_Unit_CommitVote is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: 1,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down Expand Up @@ -377,7 +378,7 @@ contract PrivateERC20ResolutionModule_Unit_CommitVote is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: 1,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down Expand Up @@ -417,7 +418,7 @@ contract PrivateERC20ResolutionModule_Unit_RevealVote is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: 1,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down Expand Up @@ -503,7 +504,7 @@ contract PrivateERC20ResolutionModule_Unit_RevealVote is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: 1,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down Expand Up @@ -553,7 +554,7 @@ contract PrivateERC20ResolutionModule_Unit_RevealVote is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: 1,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down Expand Up @@ -604,7 +605,7 @@ contract PrivateERC20ResolutionModule_Unit_ResolveDispute is BaseTest {
accountingExtension: IAccountingExtension(makeAddr('AccountingExtension')),
votingToken: token,
minVotesForQuorum: _minVotesForQuorum,
committingTimeWindow: 40_000,
committingTimeWindow: COMMITING_TIME_WINDOW,
revealingTimeWindow: REVEALING_TIME_WINDOW
})
);
Expand Down

0 comments on commit 571f0a2

Please sign in to comment.