Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-ux committed Dec 19, 2024
1 parent 22b9e69 commit 03eb2d6
Showing 1 changed file with 42 additions and 6 deletions.
48 changes: 42 additions & 6 deletions contracts/test/strategies/curvePoolBooster.mainnet.fork-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ describe("ForkTest: CurvePoolBooster", function () {

await curvePoolBooster
.connect(sDeployer)
.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0);
.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
);

expect(await oeth.balanceOf(curvePoolBooster.address)).to.equal(
parseUnits("0")
Expand Down Expand Up @@ -94,7 +100,13 @@ describe("ForkTest: CurvePoolBooster", function () {

await curvePoolBooster
.connect(sDeployer)
.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0);
.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
);

// Deal new OETH to pool booster
await oeth
Expand Down Expand Up @@ -137,7 +149,13 @@ describe("ForkTest: CurvePoolBooster", function () {

await curvePoolBooster
.connect(sDeployer)
.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0);
.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
);

// Deal new OETH to pool booster
await oeth
Expand Down Expand Up @@ -177,7 +195,13 @@ describe("ForkTest: CurvePoolBooster", function () {

await curvePoolBooster
.connect(sDeployer)
.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0);
.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
);

// Deal new OETH to pool booster
await oeth
Expand All @@ -202,7 +226,13 @@ describe("ForkTest: CurvePoolBooster", function () {
const { deployerAddr } = await getNamedAccounts();

await expect(
curvePoolBooster.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0)
curvePoolBooster.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
)
).to.be.revertedWith("Only Operator or Governor");
await expect(
curvePoolBooster.manageTotalRewardAmount(parseUnits("0.1"), 0)
Expand Down Expand Up @@ -230,7 +260,13 @@ describe("ForkTest: CurvePoolBooster", function () {
await expect(
curvePoolBooster
.connect(sDeployer)
.createCampaign(4, 10, [addresses.mainnet.ConvexVoter], parseUnits("0.1"), 0)
.createCampaign(
4,
10,
[addresses.mainnet.ConvexVoter],
parseUnits("0.1"),
0
)
).to.be.revertedWith("Campaign already created");
});

Expand Down

0 comments on commit 03eb2d6

Please sign in to comment.