From 7b902556305444ea11126a102a892f5e4e114b3e Mon Sep 17 00:00:00 2001 From: Vahagn Aharonian Date: Wed, 31 Jul 2024 21:06:20 +0400 Subject: [PATCH] Fix polygon chain id --- parser/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/index.ts b/parser/index.ts index 21c061c7..0477d12a 100644 --- a/parser/index.ts +++ b/parser/index.ts @@ -201,7 +201,7 @@ function extractChainAndNetworks( if (parts.length !== 2) { throw new Error('Should have 2 parts'); } - const chain = parts[0]; + const chain = parts[0] === 'polygon' ? 'matic' : parts[0]; const network = parts[1]; const networks = chainsToNetworks.get(chain);