Frontend: Solana deposit fails — programId field missing from chain config (uses bridgeAddress) #73
Labels
No labels
agent:implement
agent:ready
backend
bug
cannot-reproduce
confirmed
desktop
docs
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
high-risk
in-review
invalid
mobile
needs-triage
P0-critical
P1-high
P2-medium
P3-low
qa
QA
question
ready
report
responsive
security
security-escalate
smart-contract
solana
tablet
test-pass
ux
wallet-issue
wallet:keplr
wallet:metamask
wallet:station
wallet:walletconnect
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-bridge-monorepo#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
mentioned in commit
f97655284dFix pushed on
feat/solana-integration(commitf976552).Solana deposits now resolve the program id as
programId || bridgeAddress, matchinguseAutoWithdrawSubmitand the wayBRIDGE_CHAINSstores the Solana program inbridgeAddress.@brouie could you review when you have a moment?
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).