Bug: setup-test-tokens.sh uses placeholder faucet program ID #78
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#78
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?
setup-test-tokens.sh hardcodes CL8YFaucet1111111111111111111111111111111 as the faucet program ID instead of using the deployed program ID (GDRbn9sCxgUeGYoHfS3S24egcDF9HjXtX94zjH4u849K). SPL token claim on FaucetPanel fails because the placeholder doesn't exist on-chain. Script creates 0 tokens. Faucet is critical for QA testing flows.
Update (automated follow-up)
This should now be addressed on
feat/solana-integration:setup-test-tokens.sh— The defaultFAUCET_PROGRAM_IDmatches the committed localnetcl8y_faucetkeypair andAnchor.toml(B9zRqdnkfrMjLiW8n5Ejw6KSR9DmQscogpijoi5qyyY2), not a placeholder name.make start-qa/qa:full-token-setup— Addedpackages/contracts-solana/scripts/setup-qa-faucet.ts, invoked afterregisterAllTokens, so the faucet program is initialized andregister_mintruns for QA SPL mints. That moves mint authority to the faucet PDA so Settings → Faucet claims work on Solana alongside EVM + Terra.@Brouie Could you review when you have a moment (especially a quick pass on localnet faucet claims after
make start-qa)? If this matches what you expected, we can close this issue.Related commit:
b293affonfeat/solana-integration.mentioned in issue #67
Saw the faucet setup run during make start-qa today — B9zRqdnkfrMjLiW8n5Ejw6KSR9DmQscogpijoi5qyyY2 deployed and setup-qa-faucet.ts ran after registerAllTokens. Can't verify frontend faucet claims yet because #82 blocks Solana interactions on the frontend. Will test once that's resolved.
mentioned in issue #84
Faucet SPL claims verified working on
84cf7e4. Claimed TKNA via Settings > Faucet, balance shows 1.00 TKNA. setup-qa-faucet.ts runs correctly during make start-qa. Closing -- remaining token registration issues tracked in #84.