@@ -51,7 +51,7 @@ contract HubGovernorTest is WormholeEthQueryTest, ProposalTest {
51
51
initialVotingPeriod: 3 days,
52
52
initialProposalThreshold: 500_000e18 ,
53
53
initialQuorum: 100e18 ,
54
- hubVotePool: address (timelock ),
54
+ hubVotePool: address (hubVotePool ),
55
55
wormholeCore: address (wormhole),
56
56
governorProposalExtender: address (extender),
57
57
initialVoteWeightWindow: VOTE_WEIGHT_WINDOW
@@ -148,7 +148,7 @@ contract Constructor is HubGovernorTest {
148
148
initialVotingPeriod: _initialVotingPeriod,
149
149
initialProposalThreshold: _initialProposalThreshold,
150
150
initialQuorum: _initialQuorum,
151
- hubVotePool: _timelock ,
151
+ hubVotePool: address (hubVotePool) ,
152
152
wormholeCore: address (wormhole),
153
153
governorProposalExtender: address (_voteExtender),
154
154
initialVoteWeightWindow: 1 days
@@ -184,6 +184,7 @@ contract Constructor is HubGovernorTest {
184
184
HubProposalExtender _voteExtender = new HubProposalExtender (
185
185
initialOwner, VOTE_TIME_EXTENSION, address (_extenderOwner), _deployer, MINIMUM_VOTE_EXTENSION
186
186
);
187
+ HubVotePool hubVotePool = new HubVotePool (address (wormhole), address (0 ), address (timelock));
187
188
188
189
HubGovernor.ConstructorParams memory params = HubGovernor.ConstructorParams ({
189
190
name: _name,
@@ -193,7 +194,7 @@ contract Constructor is HubGovernorTest {
193
194
initialVotingPeriod: _initialVotingPeriod,
194
195
initialProposalThreshold: _initialProposalThreshold,
195
196
initialQuorum: _initialQuorum,
196
- hubVotePool: _timelock ,
197
+ hubVotePool: address (hubVotePool) ,
197
198
wormholeCore: address (wormhole),
198
199
governorProposalExtender: address (_voteExtender),
199
200
initialVoteWeightWindow: 1 days
@@ -225,7 +226,7 @@ contract Constructor is HubGovernorTest {
225
226
initialVotingPeriod: _initialVotingPeriod,
226
227
initialProposalThreshold: _initialProposalThreshold,
227
228
initialQuorum: _initialQuorum,
228
- hubVotePool: _timelock ,
229
+ hubVotePool: address (hubVotePool) ,
229
230
wormholeCore: address (wormhole),
230
231
governorProposalExtender: _voteExtender,
231
232
initialVoteWeightWindow: 1 days
@@ -252,7 +253,7 @@ contract Constructor is HubGovernorTest {
252
253
initialVotingPeriod: 0 ,
253
254
initialProposalThreshold: _initialProposalThreshold,
254
255
initialQuorum: _initialQuorum,
255
- hubVotePool: _timelock ,
256
+ hubVotePool: address (hubVotePool) ,
256
257
wormholeCore: address (wormhole),
257
258
governorProposalExtender: _voteExtender,
258
259
initialVoteWeightWindow: 1 days
0 commit comments