Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Oct 1, 2024
1 parent 1992b4c commit 0025d65
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions subgraphs/venus/tests/integration/vTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,13 +564,13 @@ describe('VToken events', function () {
});

it('should handle accrue interest event with added reserves', async function () {
const fdusd50Usd = await oracle.getAssetTokenAmount(
const fdusd10Usd = await oracle.getAssetTokenAmount(
vFdusdToken.address,
parseUnits('10', 36),
);
const doge50Usd = await oracle.getAssetTokenAmount(vDogeToken.address, parseUnits('50', 36));
for (const [vToken, amount] of [
[vFdusdToken, fdusd50Usd],
[vFdusdToken, fdusd10Usd],
[vDogeToken, doge50Usd],
]) {
const borrowRateMantissaPrev = await vToken.borrowRatePerBlock();
Expand Down Expand Up @@ -809,7 +809,7 @@ describe('VToken events', function () {

it('should not update the supplier count on the market when current accounts mint again', async function () {
// Supply all accounts
const usdc100Usd = await oracle.getAssetTokenAmount(
const usdc1000Usd = await oracle.getAssetTokenAmount(
vUsdcToken.address,
parseUnits('1000', 36),
);
Expand All @@ -823,7 +823,7 @@ describe('VToken events', function () {
);

for (const account of suppliers) {
await vUsdcToken.connect(account).mint(usdc100Usd.toString());
await vUsdcToken.connect(account).mint(usdc1000Usd.toString());
await vWBnbToken.connect(account).mint({ value: bnb1000Usd.toString() });
await vEthToken.connect(account).mint(eth2000Usd.toString());
}
Expand All @@ -846,7 +846,7 @@ describe('VToken events', function () {
}

for (const account of borrowers) {
await vUsdcToken.connect(rootSigner).mintBehalf(account._address, usdc100Usd.toString());
await vUsdcToken.connect(rootSigner).mintBehalf(account._address, usdc1000Usd.toString());
await vEthToken.connect(rootSigner).mintBehalf(account._address, eth2000Usd.toString());
}

Expand Down

0 comments on commit 0025d65

Please sign in to comment.