From 698e630a1845d5d0906c1ec8afa0407d98bc61ab Mon Sep 17 00:00:00 2001 From: zramsay Date: Fri, 12 Jul 2024 17:09:18 +0000 Subject: [PATCH 1/2] Update src/deployments.ts --- src/deployments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deployments.ts b/src/deployments.ts index e2010d6..cd5a92e 100644 --- a/src/deployments.ts +++ b/src/deployments.ts @@ -85,7 +85,7 @@ export class RegHelper { if (!idOrName) { return null; } - if (idOrName.startsWith('crn:')) { + if (idOrName.startsWith('lrn:')) { return this.resolveName(idOrName); } return this.getRecordById(idOrName); From 975f64f5392e04ad362c9048fddfbf17281e98a6 Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 22 Jul 2024 17:36:40 +0000 Subject: [PATCH 2/2] Update src/config.ts --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 9d54f51..d3456a3 100644 --- a/src/config.ts +++ b/src/config.ts @@ -25,7 +25,7 @@ export const getRegistry = (): Registry => { //TODO(telackey): Use a pool. return new Registry( laconicConfig.services?.registry?.gqlEndpoint, - laconicConfig.services?.registry?.restEndpoint, + laconicConfig.services?.registry?.rpcEndpoint, laconicConfig.services?.registry?.chainId, ); };