Skip to content

Commit

Permalink
chore(a3p): remove unnecessary waitForBlock calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge-Lopes committed Oct 3, 2024
1 parent d2c0f09 commit 972775e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions a3p-integration/proposals/z:acceptance/kread.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
provisionSmartWallet,
USER1ADDR as Alice,
GOV1ADDR as Bob,
waitForBlock,
} from '@agoric/synthetic-chain';
import {
buyCharacter,
Expand Down Expand Up @@ -49,7 +48,7 @@ test.serial('Alice unequips all defaults Items', async t => {
);

await unequipAllItems(Alice);
waitForBlock(5);


const characterInventoryAfter = await getCharacterInventory(characterId);
t.log(`Character inventory after unequipping: ${characterInventoryAfter}`);
Expand All @@ -72,7 +71,7 @@ test.serial('Alice sells unequiped Item', async t => {
const itemBefore = await getBalanceFromPurse(Alice, 'item');

await sellItem(Alice);
waitForBlock(5);


const itemListAfter = await getMarketItemsChildren();
t.is(itemListAfter.length, itemListBefore.length + 1);
Expand Down Expand Up @@ -100,7 +99,7 @@ test.serial('Bob buys an Item on marketplace', async t => {
const marketItem = await getMarketItem(marketItemNode);

await buyItem(Bob);
waitForBlock(5);


const itemListAfter = await getMarketItemsChildren();
t.is(itemListAfter.length, itemListBefore.length - 1);
Expand Down Expand Up @@ -138,7 +137,7 @@ test.serial('Alice sells a Character', async t => {
);

await sellCharacter(Alice);
waitForBlock(5);


const characterListAfter = await getMarketCharactersChildren();
t.true(
Expand Down

0 comments on commit 972775e

Please sign in to comment.