From 01766f1f2686f883ee397e1886a976eb9c0ef9c2 Mon Sep 17 00:00:00 2001 From: pdiogo Date: Mon, 5 Aug 2024 23:05:46 +0100 Subject: [PATCH] common: add moonbeam, fuse, blast to chain id lookup - docs: Add to feature matrix:s - add moonbeam, fuse and blast to chain id lookups - removed changes to the feature matrix. that should be handled in #979 - added missing mappings to Caip2ByChainID --- packages/indexer-common/src/indexer-management/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/indexer-common/src/indexer-management/types.ts b/packages/indexer-common/src/indexer-management/types.ts index 8326de527..c2c61139a 100644 --- a/packages/indexer-common/src/indexer-management/types.ts +++ b/packages/indexer-common/src/indexer-management/types.ts @@ -184,6 +184,9 @@ export const Caip2ByChainAlias: { [key: string]: string } = { linea: 'eip155:59144', scroll: 'eip155:534352', base: 'eip155:8453', + moonbeam: 'eip155:1284', + fuse: 'eip155:122', + blast: 'eip155:81457', } export const Caip2ByChainId: { [key: number]: string } = { @@ -204,6 +207,9 @@ export const Caip2ByChainId: { [key: number]: string } = { 59144: 'eip155:59144', 534352: 'eip155:534352', 8453: 'eip155:8453', + 1284: 'eip155:1284', + 122: 'eip155:122', + 81457: 'eip155:81457', } /// Unified entrypoint to resolve CAIP ID based either on chain aliases (strings)