Repository navigation
feat(sdk-core): surface pendingApproval ids in defi vault results - #10227
Draft
mullapudipruthvik wants to merge 1 commit into
Draft
mullapudipruthvik wants to merge 1 commit into
mullapudipruthvik wants to merge 1 commit into
Conversation
Contributor
This was referenced Nov 24, 2026
mullapudipruthvik
force-pushed
the
pruthvikpruthvik/DEFI-1358-defi-earn-bitgojs
branch
from
November 24, 2026 11:12
8708b37 to
f23b90f
Compare
mullapudipruthvik
force-pushed
the
pruthvikpruthvik/DEFI-1357-defi-earn-bitgojs
branch
from
November 24, 2026 11:12
a7b7187 to
2bf5f71
Compare
depositToVault and withdrawFromVault now return the per-leg pendingApproval id when a wallet policy gates a leg, so clients can route users to approvals and later resume signing — a resumed deposit that issues a new gated leg is indistinguishable from a fresh one. Fields are only set when an id exists, so un-gated results keep their exact previous shape. Optional fields, backward compatible. Ticket: DEFI-1358
mullapudipruthvik
force-pushed
the
pruthvikpruthvik/DEFI-1358-defi-earn-bitgojs
branch
from
November 25, 2026 17:02
f23b90f to
c9fef92
Compare
mullapudipruthvik
force-pushed
the
pruthvikpruthvik/DEFI-1357-defi-earn-bitgojs
branch
from
November 25, 2026 17:02
2bf5f71 to
7b70697
Compare
This branch has not been deployed
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
depositToVaultandwithdrawFromVaultnow return the per-legpendingApprovalId(s)when a wallet policy gates a leg, so clients can route users to approvals and later resume signing — a resumed deposit that issues a new gated leg is indistinguishable from a fresh one. Fields are only set when an id exists, so un-gated results keep their exact previous shape. Optional fields, backward compatible.Verification
Unit suite green incl. per-leg gating (only-one-leg-gated pins the per-leg contract). Live E2E on test env: gated deposit/withdraw results carried the PA ids used to drive the recovery flows (DEFI-1362).
Stack
Stacked on #10226; rebase up the stack as lower PRs land.
Ticket: DEFI-1358