From 84fed448089e41b8a066458312088ec1e79ce4ec Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Fri, 17 Feb 2023 12:06:58 -0500 Subject: [PATCH] debugging statements for provisionBondId --- src/testing/helper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/testing/helper.ts b/src/testing/helper.ts index 91b3170..a3e87a2 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -25,9 +25,11 @@ export const getBaseConfig = async (path: string) => { */ export const provisionBondId = async (registry: Registry, privateKey: string, fee: Fee) => { let bonds = await registry.queryBonds(); + console.log("found bonds: " + bonds.length) if (!bonds.length) { await registry.createBond({ denom: 'aphoton', amount: '1000000000' }, privateKey, fee); bonds = await registry.queryBonds(); + console.log("created bond and got back: " + bonds.length) } return bonds[0].id;