Skip to content

Commit

Permalink
feat(squid-tests)!: fix squid tests (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foivos authored Jan 22, 2025
1 parent 7a9eda4 commit c296518
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/squid.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ describe('Squid', () => {

objectIds = {
balanceManager: await createBalanceManager(),
deepCoin: findObjectId(deployments.token.publishTxn, 'Coin'),
deepCoin: findObjectId(deployments.token.publishTxn, `Coin<${deployments.token.packageId}`),
deepbookAdminCap: findObjectId(deployments.deepbook.publishTxn, 'DeepbookAdminCap'),
deepbookRegistry: findObjectId(deployments.deepbook.publishTxn, 'Registry', 'created', 'RegistryInner'),
};
Expand Down Expand Up @@ -420,13 +420,11 @@ describe('Squid', () => {
}

pools.ab = await createPool('a', 'b');
await new Promise((resolve) => setTimeout(resolve, 1000));
pools.bc = await createPool('b', 'c');
await setupGateway();
await registerItsTransaction();
await registerSquidTransaction();
await setupTrustedAddresses(client, deployer, objectIds, deployments, [trustedSourceAddress], [trustedSourceChain]);
await new Promise((resolve) => setTimeout(resolve, 1000));
await registerCoin('a');
await giveDeepToSquid();
});
Expand Down

0 comments on commit c296518

Please sign in to comment.