Skip to content

Commit 4a12161

Browse files
committed
test: remove test for negativ rebase.
1 parent afdccc1 commit 4a12161

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

contracts/test/token/woeth.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,6 @@ describe("WOETH", function () {
106106
await expect(woeth).to.have.approxBalanceOf("150", oeth);
107107
await expect(woeth).to.have.a.totalSupply("50");
108108
});
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-
});
121109
it("should not increase exchange rate when OETH is transferred to the contract", async () => {
122110
await expect(woeth).to.have.a.totalSupply("50");
123111
await expect(woeth).to.have.approxBalanceOf("100", oeth);

0 commit comments

Comments
 (0)