From adf33a5c3904e0c4b1cb8a7a478b227252d17984 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 27 Aug 2024 18:21:39 +0530 Subject: [PATCH] Debug logs --- src/index.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.test.ts b/src/index.test.ts index 8a86914..85902d2 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -53,6 +53,8 @@ const registryTests = () => { for (let i = 0; i < accounts.length; i++) { await registry.sendCoins({ denom: DENOM, amount: '1000000', destinationAddress: accounts[i].address }, privateKey, fee); } + + console.log('accounts', accounts); }); test('All txs get included in a single block.', async () => { @@ -68,6 +70,10 @@ const registryTests = () => { return tx; })); + bondCreationTxs.forEach((tx, i) => { + console.log('tx', accounts[i].address, tx.height); + }); + // Check that all txs are in the same block const expectedBlockHeight = bondCreationTxs[0].height; expect(bondCreationTxs.every(tx => tx.height === expectedBlockHeight)).toBe(true);