@@ -2,7 +2,7 @@ import { VeBalHelper } from '@custom-types/contracts';
2
2
import { NamedAddresses , NamedContracts } from '@custom-types/types' ;
3
3
import { SignerWithAddress } from '@nomiclabs/hardhat-ethers/signers' ;
4
4
import { ProposalsConfig } from '@protocol/proposalsConfig' ;
5
- import { getAddresses , getImpersonatedSigner } from '@test/helpers' ;
5
+ import { getAddresses , getImpersonatedSigner , time } from '@test/helpers' ;
6
6
import { TestEndtoEndCoordinator } from '@test/integration/setup' ;
7
7
import chai , { expect } from 'chai' ;
8
8
import CBN from 'chai-bn' ;
@@ -103,41 +103,4 @@ describe('e2e-veBalHelper-gauge-management', function () {
103
103
) . sub ( stakeBeforeBalance ) ;
104
104
expect ( stakeBalanceDiff ) . to . equal ( 0 ) ;
105
105
} ) ;
106
-
107
- it ( 'should be able to voteForGaugeWeight() to vote for gauge weights whilst a lock is active ' , async ( ) => {
108
- // remove 100% votes for B-30FEI-70WETH
109
- expect (
110
- (
111
- await contracts . balancerGaugeController . vote_user_slopes (
112
- contractAddresses . veBalDelegatorPCVDeposit ,
113
- contractAddresses . balancerGaugeBpt30Fei70Weth
114
- )
115
- ) [ 1 ]
116
- ) . to . be . equal ( '10000' ) ;
117
- await vebalOtcHelper
118
- . connect ( otcBuyerSigner )
119
- . voteForGaugeWeight ( contractAddresses . bpt30Fei70Weth , contractAddresses . balancerGaugeBpt30Fei70Weth , 0 ) ;
120
- expect (
121
- (
122
- await contracts . balancerGaugeController . vote_user_slopes (
123
- contractAddresses . veBalDelegatorPCVDeposit ,
124
- contractAddresses . balancerGaugeBpt30Fei70Weth
125
- )
126
- ) [ 1 ]
127
- ) . to . be . equal ( '0' ) ;
128
- // set 100% votes for bb-a-usd
129
- await vebalOtcHelper . connect ( otcBuyerSigner ) . voteForGaugeWeight (
130
- '0x7B50775383d3D6f0215A8F290f2C9e2eEBBEceb2' , // bb-a-usd token
131
- '0x68d019f64A7aa97e2D4e7363AEE42251D08124Fb' , // bb-a-usd gauge
132
- 10000
133
- ) ;
134
- expect (
135
- (
136
- await contracts . balancerGaugeController . vote_user_slopes (
137
- contractAddresses . veBalDelegatorPCVDeposit ,
138
- '0x68d019f64A7aa97e2D4e7363AEE42251D08124Fb'
139
- )
140
- ) [ 1 ]
141
- ) . to . be . equal ( '10000' ) ;
142
- } ) ;
143
106
} ) ;
0 commit comments