Skip to content

fix(wallet): adapt shielded spends to the SDK's per-operation resolver (latest v4.1-dev) - #799

Merged
QuantumExplorer merged 2 commits into
swift-sdk-integrationfrom
fix/shielded-resolver-v41dev-tip
Jul 14, 2026
Merged

fix(wallet): adapt shielded spends to the SDK's per-operation resolver (latest v4.1-dev)#799
QuantumExplorer merged 2 commits into
swift-sdk-integrationfrom
fix/shielded-resolver-v41dev-tip

Conversation

@QuantumExplorer

Copy link
Copy Markdown
Member

Follow-up to #796 (which merged as docs-only before these commits landed on its branch — recovered here).

The latest platform v4.1-dev tip (88949b7144) lands the seedless shielded bind (platform #4125/#4126): shieldedWithdraw / shieldedUnshield now take a per-operation resolver: MnemonicResolver supplying the Orchard spend authority. This adapts both ShieldedTransferCoordinator call sites — a per-call MnemonicResolver(), same shape as SwiftExampleApp; the SDK holds the resolver alive across the FFI call via withExtendedLifetime. Also refreshes the migration doc's pin note to the newly verified tip.

Verified: sim xcframework rebuilt from 88949b7144 (new FFI types confirmed present in the generated header), dashpay arm64-sim BUILD SUCCEEDED on the current swift-sdk-integration tip (8db1d310d), installed + launched on the QA sim. Without this, the app does not compile against the latest v4.1-dev.

🤖 Generated with Claude Code

QuantumExplorer and others added 2 commits July 15, 2026 00:26
…r; pin at v4.1-dev tip

The latest v4.1-dev (88949b7144) lands the seedless shielded bind
(platform #4125/#4126): shieldedWithdraw/shieldedUnshield now take a
per-operation MnemonicResolver supplying the Orchard spend authority.
Pass MnemonicResolver() at both ShieldedTransferCoordinator call
sites (the SDK holds it alive across the FFI call via
withExtendedLifetime — same shape as SwiftExampleApp). Pin note
refreshed to the newly verified tip.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 79dd1ab6-409e-41cc-8a32-93f156654ee9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/shielded-resolver-v41dev-tip

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@QuantumExplorer
QuantumExplorer merged commit 84775e9 into swift-sdk-integration Jul 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant