Skip to content

Commit

Permalink
refactor: add isolated pool participant count and argument order refa…
Browse files Browse the repository at this point in the history
…ctoring to core pool
  • Loading branch information
coreyar committed Dec 5, 2024
1 parent ad930ec commit 1e48421
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions subgraphs/venus/tests/VToken/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -497,9 +497,6 @@ describe('VToken', () => {
zeroBigInt32,
);

market = getMarket(aaaTokenAddress)!;

market = getMarket(aaaTokenAddress)!;
handleRedeem(redeemEvent);

assert.fieldEquals('Market', marketId, 'supplierCount', '3');
Expand All @@ -511,7 +508,6 @@ describe('VToken', () => {
halfMintTokens,
);

market = getMarket(aaaTokenAddress)!;
handleRedeemV1(redeemEventV1);

redeemEvent = createRedeemEvent(
Expand Down

0 comments on commit 1e48421

Please sign in to comment.