From 8979ce1e2f9787019e05b0003990bd105b64939b Mon Sep 17 00:00:00 2001 From: Poafs1 Date: Wed, 19 Jun 2024 14:37:21 +0700 Subject: [PATCH 1/2] fix(utils): support icns in account osmosis lite version --- src/lib/services/account/lcd.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/services/account/lcd.ts b/src/lib/services/account/lcd.ts index 19dd245cd..bfb3e27aa 100644 --- a/src/lib/services/account/lcd.ts +++ b/src/lib/services/account/lcd.ts @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import axios from "axios"; +import { getIcnsNamesByAddressLcd } from "../name/lcd"; import type { AccountData } from "../types"; import type { BechAddr } from "lib/types"; @@ -8,10 +9,12 @@ export const getAccountDataLcd = async ( endpoint: string, address: BechAddr ): Promise => { + const icns = await getIcnsNamesByAddressLcd(endpoint, address); + // TODO: Implement this function return { projectInfo: null, publicInfo: null, - icns: null, + icns, }; }; From a6c93d6ca934c12b62e9b5c133eb48da79bf7f82 Mon Sep 17 00:00:00 2001 From: Poafs1 Date: Wed, 19 Jun 2024 14:40:42 +0700 Subject: [PATCH 2/2] docs: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 474842f13..6c5afc322 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,6 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Improvements +- [#982](https://github.com/alleslabs/celatone-frontend/pull/982) Support Icns in account osmosis lite version - [#973](https://github.com/alleslabs/celatone-frontend/pull/973) Remove overview text from landing page title - [#967](https://github.com/alleslabs/celatone-frontend/pull/967) Utilize consensus address for better consistency - [#963](https://github.com/alleslabs/celatone-frontend/pull/963) Add separator between token in tx message