Repository navigation
fix(uphold): don't crash on Buy & Sell when Topper-Info.plist lacks sandbox keys - #823
Merged
QuantumExplorer merged 1 commit intoJul 16, 2026
Conversation
…acks sandbox keys TopperViewModel force-cast the SANDBOX_KEY_ID / SANDBOX_WIDGET_ID / SANDBOX_PRIVATE_KEY plist entries. The plist is gitignored, so any build with a placeholder (or mainnet-only) Topper-Info.plist trapped in TopperViewModel.init the moment Buy & Sell opened — and since fresh installs currently default to testnet, isSandbox is true for everyone. Missing keys now degrade to empty credentials, the same posture as a missing plist: the Topper widget simply won't authenticate. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
QuantumExplorer
added a commit
that referenced
this pull request
Jul 16, 2026
…ector #824, Topper fix #823) — keep send-sheet arrow wiring + adopt onInfo Co-Authored-By: Claude Fable 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Opening Buy & Sell (main menu or shortcut) crashes any build whose gitignored
Topper-Info.plistis a placeholder or lacks theSANDBOX_*keys:TopperViewModel.initforce-casts (as!)SANDBOX_KEY_ID/SANDBOX_WIDGET_ID/SANDBOX_PRIVATE_KEY, and since fresh installs currently default to testnet, the sandbox branch runs for everyone.Crash signature (from today's QA sim
.ips):Missing keys now read as empty strings — the same already-supported posture as a missing plist file: the Topper widget just won't authenticate. No behavior change for correctly-provisioned plists.
Test plan
dashpaysimulator build (arm64)Topper-Info.pliston testnet: Buy & Sell opens without crashing🤖 Generated with Claude Code