We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61db0ce commit 498fb6dCopy full SHA for 498fb6d
packages/indexer-common/src/indexer-management/types.ts
@@ -239,6 +239,10 @@ async function buildCaip2MappingsFromRegistry() {
239
}
240
for (const alias of network.aliases) {
241
caip2ByChainAlias[alias] = network.caip2Id
242
+ if (alias.endsWith('-mainnet')) {
243
+ const aliasWithoutSuffix = alias.replace('-mainnet', '')
244
+ caip2ByChainAlias[aliasWithoutSuffix] = network.caip2Id
245
+ }
246
247
const chainId = parseInt(network.caip2Id.split(':')[1])
248
if (
0 commit comments