File tree 1 file changed +0
-12
lines changed 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -106,18 +106,6 @@ describe("WOETH", function () {
106
106
await expect ( woeth ) . to . have . approxBalanceOf ( "150" , oeth ) ;
107
107
await expect ( woeth ) . to . have . a . totalSupply ( "50" ) ;
108
108
} ) ;
109
- it ( "should decrease with an OETH negative rebase" , async ( ) => {
110
- await expect ( woeth ) . to . have . approxBalanceOf ( "100" , oeth ) ;
111
- await expect ( woeth ) . to . have . a . totalSupply ( "50" ) ;
112
- await expect ( oeth ) . to . have . a . totalSupply ( "400" ) ;
113
- // simulate a negative rebase of 1/4 of the supply.
114
- await oeth
115
- . connect ( await impersonateAndFund ( oethVault . address ) )
116
- . changeSupply ( oethUnits ( "300" ) ) ;
117
- await expect ( oeth ) . to . have . a . totalSupply ( "300" ) ;
118
- await expect ( woeth ) . to . have . a . totalSupply ( "50" ) ; // same total supply
119
- await expect ( woeth ) . to . have . approxBalanceOf ( "75" , oeth ) ; // 25% less than before
120
- } ) ;
121
109
it ( "should not increase exchange rate when OETH is transferred to the contract" , async ( ) => {
122
110
await expect ( woeth ) . to . have . a . totalSupply ( "50" ) ;
123
111
await expect ( woeth ) . to . have . approxBalanceOf ( "100" , oeth ) ;
You can’t perform that action at this time.
0 commit comments