From 23f0cce9a1efb3d250ef0904b90051ac1ad5e95d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 10 Mar 2026 19:38:38 -0700 Subject: [PATCH] fix(rflows): hardcode Base mainnet chainId (8453) Infisical has BASE_CHAIN_ID=84532 (Base Sepolia testnet) which conflicts with the live Openfort API key. Hardcode 8453 to prevent testnet/mainnet mismatch. Co-Authored-By: Claude Opus 4.6 --- modules/rflows/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rflows/mod.ts b/modules/rflows/mod.ts index 2a1f4ef..2b525eb 100644 --- a/modules/rflows/mod.ts +++ b/modules/rflows/mod.ts @@ -474,7 +474,7 @@ export const flowsModule: RSpaceModule = { _openfort = new OpenfortProvider({ apiKey: process.env.OPENFORT_API_KEY, publishableKey: process.env.OPENFORT_PUBLISHABLE_KEY, - chainId: parseInt(process.env.BASE_CHAIN_ID || '8453', 10), + chainId: 8453, // Base mainnet — hardcoded to avoid testnet misconfiguration }); console.log('[rflows] Openfort provider initialized'); }