Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Jul 28, 2023
1 parent ab9f0ee commit 9160595
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions test/SoulboundCreditScore.test.ts
Expand Up @@ -655,10 +655,9 @@ describe("Soulbound Credit Score", () => {
await soulboundCreditScore.projectFeeReceiver();
const protocolFeeReceiver =
await soulboundCreditScore.protocolFeeReceiver();
const { price } =
await soulboundCreditScore.getMintPriceWithProtocolFee(
ethers.constants.AddressZero
);
const { price } = await soulboundCreditScore.getMintPriceWithProtocolFee(
ethers.constants.AddressZero
);
const protocolFeeSub = price.mul(10).div(100);

const projectFeeWalletBalanceBefore = await ethers.provider.getBalance(
Expand Down Expand Up @@ -853,8 +852,9 @@ describe("Soulbound Credit Score", () => {
await soulboundCreditScore.projectFeeReceiver();
const protocolFeeReceiver =
await soulboundCreditScore.protocolFeeReceiver();
const { price } =
await soulboundCreditScore.getMintPriceWithProtocolFee(env.USDC_TOKEN);
const { price } = await soulboundCreditScore.getMintPriceWithProtocolFee(
env.USDC_TOKEN
);
const protocolFeeSub = price.mul(10).div(100);

const usdc: IERC20 = IERC20__factory.connect(env.USDC_TOKEN, owner);
Expand All @@ -866,9 +866,7 @@ describe("Soulbound Credit Score", () => {
);

// set allowance for soul store
await usdc
.connect(address1)
.approve(soulboundCreditScore.address, price);
await usdc.connect(address1).approve(soulboundCreditScore.address, price);

const mintTx = await soulboundCreditScore
.connect(address1)
Expand Down

0 comments on commit 9160595

Please sign in to comment.