From 0025d658031326bb129b85169f3ce3eabb7c2f99 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Tue, 1 Oct 2024 17:34:08 -0300 Subject: [PATCH] chore: fix typos --- subgraphs/venus/tests/integration/vTokens.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/subgraphs/venus/tests/integration/vTokens.ts b/subgraphs/venus/tests/integration/vTokens.ts index bf39b203..6966351f 100644 --- a/subgraphs/venus/tests/integration/vTokens.ts +++ b/subgraphs/venus/tests/integration/vTokens.ts @@ -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(); @@ -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), ); @@ -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()); } @@ -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()); }