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 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-10 19:38:38 -07:00
parent 30a409b2f8
commit 23f0cce9a1
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}