From dc2f8b92026d532accdf6bb5306ac0c4545eacde Mon Sep 17 00:00:00 2001 From: Nexory Date: Fri, 29 May 2026 17:53:58 +0200 Subject: [PATCH] fix(tokens): remove duplicate CHAIN_IDs.PLASMA key in WETH.addresses The WETH.addresses object literal contained two entries for [CHAIN_IDs.PLASMA] with the same address. JavaScript silently overwrites the earlier entry with the later one at parse time, so this had no runtime effect, but it triggers no-dupe-keys linting and signals confusion about intent. Both keys mapped to the same address so removing the duplicate is safe. --- src/tokens.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tokens.ts b/src/tokens.ts index 6521b9f..5754a30 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -597,7 +597,6 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.PLASMA]: "0x9895D81bB462A195b4922ED7De0e3ACD007c32CB", [CHAIN_IDs.POLYGON]: "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", [CHAIN_IDs.POLYGON_AMOY]: "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E", - [CHAIN_IDs.PLASMA]: "0x9895D81bB462A195b4922ED7De0e3ACD007c32CB", [CHAIN_IDs.REDSTONE]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.SCROLL]: "0x5300000000000000000000000000000000000004", [CHAIN_IDs.SCROLL_SEPOLIA]: "0x5300000000000000000000000000000000000004",