diff --git a/subgraphs/venus/tests/VToken/index.test.ts b/subgraphs/venus/tests/VToken/index.test.ts index b2a0e261..fdfaa475 100644 --- a/subgraphs/venus/tests/VToken/index.test.ts +++ b/subgraphs/venus/tests/VToken/index.test.ts @@ -427,7 +427,7 @@ describe('VToken', () => { }); test('registers increase and decrease in the market supplier count', () => { - let market = getMarket(aaaTokenAddress)!; + const market = getMarket(aaaTokenAddress)!; const marketId = aaaTokenAddress.toHexString(); assert.assertNotNull(market); if (!market) { @@ -497,9 +497,6 @@ describe('VToken', () => { zeroBigInt32, ); - market = getMarket(aaaTokenAddress)!; - - market = getMarket(aaaTokenAddress)!; handleRedeem(redeemEvent); assert.fieldEquals('Market', marketId, 'supplierCount', '3'); @@ -511,7 +508,6 @@ describe('VToken', () => { halfMintTokens, ); - market = getMarket(aaaTokenAddress)!; handleRedeemV1(redeemEventV1); redeemEvent = createRedeemEvent( diff --git a/subgraphs/venus/tests/mocks.ts b/subgraphs/venus/tests/mocks.ts index 17a6c7c5..0b917129 100644 --- a/subgraphs/venus/tests/mocks.ts +++ b/subgraphs/venus/tests/mocks.ts @@ -196,7 +196,7 @@ export const createComptrollerMock = (vTokens: Address[]): void => { createMockedFunction(comptrollerAddress, 'maxAssets', 'maxAssets():(uint256)').returns([ ethereum.Value.fromI32(10), ]); - + log.info('c {} p {}', [comptrollerAddress.toHexString(), priceOracleAddress.toHexString()]); createMockedFunction(comptrollerAddress, 'oracle', 'oracle():(address)').returns([ ethereum.Value.fromAddress(priceOracleAddress), ]);