Frontend: Solana deposit fails — programId field missing from chain config (uses bridgeAddress) #73

Closed
opened 2026-03-24 08:24:08 +00:00 by Brouie · 3 comments
Brouie commented 2026-03-24 08:24:08 +00:00 (Migrated from gitlab.com)

TransferForm.tsx line 1025 checks sourceConfig.programId but bridgeChains.ts uses bridgeAddress for the Solana program ID. Field name mismatch causes 'Missing Solana RPC or program ID config' error on any Solana deposit attempt.

Fix: either add programId alias to the chain config, or update TransferForm to use sourceConfig.bridgeAddress for Solana chains.

TransferForm.tsx line 1025 checks sourceConfig.programId but bridgeChains.ts uses bridgeAddress for the Solana program ID. Field name mismatch causes 'Missing Solana RPC or program ID config' error on any Solana deposit attempt. Fix: either add programId alias to the chain config, or update TransferForm to use sourceConfig.bridgeAddress for Solana chains.
PlasticDigits commented 2026-03-24 09:00:57 +00:00 (Migrated from gitlab.com)

mentioned in commit f97655284d

mentioned in commit f97655284d9b1df52614b66027d762a7762beb4f
PlasticDigits commented 2026-03-24 09:01:11 +00:00 (Migrated from gitlab.com)

Fix pushed on feat/solana-integration (commit f976552).

Solana deposits now resolve the program id as programId || bridgeAddress, matching useAutoWithdrawSubmit and the way BRIDGE_CHAINS stores the Solana program in bridgeAddress.

@brouie could you review when you have a moment?

Fix pushed on `feat/solana-integration` (commit f976552). Solana deposits now resolve the program id as `programId || bridgeAddress`, matching `useAutoWithdrawSubmit` and the way `BRIDGE_CHAINS` stores the Solana program in `bridgeAddress`. @brouie could you review when you have a moment?
Brouie commented 2026-03-25 02:47:40 +00:00 (Migrated from gitlab.com)

Verified — Solana deposit form works, no more 'Missing Solana RPC or program ID' error. Amount, fee, output all display correctly. Deposit execution blocked by CSP WebSocket issue (#75).

Verified — Solana deposit form works, no more 'Missing Solana RPC or program ID' error. Amount, fee, output all display correctly. Deposit execution blocked by CSP WebSocket issue (#75).
Brouie (Migrated from gitlab.com) closed this issue 2026-03-25 02:47:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-bridge-monorepo#73
No description provided.