From 0ebff90d60606912cdab2cc7f53888048526c1b2 Mon Sep 17 00:00:00 2001 From: jeremy-consensys Date: Mon, 20 Apr 2026 20:55:53 +0700 Subject: [PATCH] feat: add Forma (chain 984122) to assets-controllers spot price support Adds Forma to SPOT_PRICES_SUPPORT_INFO so CodefiTokenPricesServiceV2 recognises it as a supported chain. Maps the native TIA asset to slip44:984122, which the price-api resolves to CoinGecko's `celestia` coin. Without this entry, the service's validateChainIdSupported check returns false and no spot-price request is made for Forma's native token. Pairs with the price-api change that registers eip155:984122 and the same slip44:984122 ref on the server side. --- packages/assets-controllers/CHANGELOG.md | 4 ++++ .../assets-controllers/src/token-prices-service/codefi-v2.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index 1d3b84d2d50..7498263a865 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add Forma (`0xf043a` / `eip155:984122`) to `SPOT_PRICES_SUPPORT_INFO`, mapping its native TIA asset to `slip44:984122` so the price-api can resolve it to CoinGecko's `celestia` coin + ## [104.1.0] ### Added diff --git a/packages/assets-controllers/src/token-prices-service/codefi-v2.ts b/packages/assets-controllers/src/token-prices-service/codefi-v2.ts index c6c6df9db9c..27731ec2b2a 100644 --- a/packages/assets-controllers/src/token-prices-service/codefi-v2.ts +++ b/packages/assets-controllers/src/token-prices-service/codefi-v2.ts @@ -318,6 +318,7 @@ export const SPOT_PRICES_SUPPORT_INFO = { '0x63564c40': 'eip155:1666600000/slip44:1023', // Harmony Mainnet Shard 0 - Native symbol: ONE '0xdef1': 'eip155:57073/slip44:60', // Ink Mainnet - Native symbol: ETH '0x3dc': 'eip155:988/erc20:0x779ded0c9e1022225f8e0630b35a9b54be713736', // Stable - Native symbol: USDT0 + '0xf043a': 'eip155:984122/slip44:984122', // Forma - Native symbol: TIA (Celestia) } as const; // MISSING CHAINS WITH NO NATIVE ASSET PRICES