From 810c6163b550bf49a88e8878b351bbe5aeecfab8 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 16 Aug 2024 21:52:50 -0500 Subject: [PATCH 1/2] Fix default 'account get' output. --- src/cmds/registry-cmds/account-cmds/get.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmds/registry-cmds/account-cmds/get.ts b/src/cmds/registry-cmds/account-cmds/get.ts index d86ab82..192505d 100644 --- a/src/cmds/registry-cmds/account-cmds/get.ts +++ b/src/cmds/registry-cmds/account-cmds/get.ts @@ -18,7 +18,9 @@ export const handler = async (argv: Arguments) => { assert(chainId, 'Invalid registry Chain ID.'); if (!address && privateKey) { - address = new Account(Buffer.from(privateKey, 'hex')).address; + const account = new Account(Buffer.from(privateKey, 'hex')); + await account.init(); + address = account.address; } const registry = new Registry(gqlEndpoint, rpcEndpoint, chainId); -- 2.45.2 From b511d4c9d754688075dcaa631216ce19bea00a97 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Tue, 20 Aug 2024 14:00:55 -0500 Subject: [PATCH 2/2] Bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 63dcf72..0e5d681 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/laconic-registry-cli", - "version": "0.2.5", + "version": "0.2.6", "main": "index.js", "repository": "git@github.com:cerc-io/laconic-registry-cli.git", "author": "", -- 2.45.2