From 076d13d29f26cdee781a40ba386790c554a34b27 Mon Sep 17 00:00:00 2001 From: Daniel Padrino Date: Mon, 6 Jul 2026 15:36:03 -0300 Subject: [PATCH] sunset: Citrea integration targets mainnet (4114) instead of testnet Citrea Testnet is being sunset across DFX infra. The hardcoded citrea chainId moves to mainnet and the unused CITREA_TESTNET constant goes. The CITREA_GATEWAY_URL secret must point at a mainnet RPC when this ships (Vaultwarden, DEV + PRD). --- src/config/config.ts | 2 +- src/subdomains/support/constants/chain-ids.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config/config.ts b/src/config/config.ts index dac6f892dd..838a1e0b52 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -170,7 +170,7 @@ export class Configuration { }, citrea: { gatewayUrl: process.env.CITREA_GATEWAY_URL ?? '', - chainId: 5115, + chainId: 4114, }, }; diff --git a/src/subdomains/support/constants/chain-ids.ts b/src/subdomains/support/constants/chain-ids.ts index ddb277bb21..59e9735194 100644 --- a/src/subdomains/support/constants/chain-ids.ts +++ b/src/subdomains/support/constants/chain-ids.ts @@ -8,7 +8,6 @@ export const CHAIN_IDS = { CITREA: 4114, // Testnets - CITREA_TESTNET: 5115, POLYGON_AMOY: 80002, } as const; @@ -30,7 +29,7 @@ export const SYMBOL_TO_CHAIN_ID: Record = { JUSD: CHAIN_IDS.CITREA, cBTC: CHAIN_IDS.CITREA, - // Citrea Testnet (fallback for testnet symbols) + // Citrea (legacy pair-symbol alias) JUSD_CITREA: CHAIN_IDS.CITREA, };