From 7a53a729178a3d4bed7c957e37325a327d0ed3f0 Mon Sep 17 00:00:00 2001 From: quasisamurai Date: Thu, 19 Sep 2024 10:32:56 -0300 Subject: [PATCH] rm ibc transfer debug prints as well --- src/testcases/parallel/ibc_transfer.test.ts | 22 +++------------------ 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/src/testcases/parallel/ibc_transfer.test.ts b/src/testcases/parallel/ibc_transfer.test.ts index 9b743b30..6f41728f 100644 --- a/src/testcases/parallel/ibc_transfer.test.ts +++ b/src/testcases/parallel/ibc_transfer.test.ts @@ -483,7 +483,7 @@ describe('Neutron / IBC transfer', () => { hermes checks height on remote chain and Timeout error occurs. */ const currentHeight = await gaiaClient.getHeight(); - await waitBlocks(25, gaiaClient); + await waitBlocks(15, gaiaClient); await neutronClient.execute(ibcContract, { send: { @@ -562,12 +562,6 @@ describe('Neutron / IBC transfer', () => { state: 'enabled_infinite_loop', }, }); - // check that failures count is the same - let failuresResAfter = await contractManagerQuerier.failures({ - address: ibcContract, - }); - - console.log(failuresResAfter); await neutronClient.execute(ibcContract, { send: { @@ -578,14 +572,7 @@ describe('Neutron / IBC transfer', () => { }, }); - await neutronClient.waitBlocks(35); - - // check that failures count is the same - failuresResAfter = await contractManagerQuerier.failures({ - address: ibcContract, - }); - - console.log(failuresResAfter); + await neutronClient.waitBlocks(5); const res = await neutronClient.getWithAttempts( async () => @@ -627,7 +614,6 @@ describe('Neutron / IBC transfer', () => { const failuresResAfter = await contractManagerQuerier.failures({ address: ibcContract, }); - console.log(failuresResAfter.failures); expect(failuresResAfter.failures.length).toEqual(6); // Restore sudo handler's normal state @@ -643,7 +629,6 @@ describe('Neutron / IBC transfer', () => { address: ibcContract, }); const failure = failuresResBefore.failures[0]; - console.log(failure); const res = await neutronClient.execute(ibcContract, { resubmit_failure: { failure_id: +failure.id.toString(), @@ -651,13 +636,12 @@ describe('Neutron / IBC transfer', () => { }); expect(res.code).toBe(0); - await neutronClient.waitBlocks(10); + await neutronClient.waitBlocks(5); // check that failures count is changed const failuresResAfter = await contractManagerQuerier.failures({ address: ibcContract, }); - console.log(failuresResAfter.failures); expect(failuresResAfter.failures.length).toEqual(5); }); });