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:
parent
30a409b2f8
commit
23f0cce9a1
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue