fix: withdraw flow of Pendle vault#5614
Conversation
🦋 Changeset detectedLatest commit: cd9e63b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR fixes the Pendle vault withdraw flow by ensuring the user has delegated their withdraw authority to the
Confidence Score: 5/5Safe to merge — the delegation gate is correctly wired through the vault's own pool comptroller, and both maturity paths are intentionally covered. The changes are well-scoped: a new if/else-if approval branch in TransactionForm, prop threading in WithdrawForm, and a type-import cleanup. The delegate approval is guarded by both delegateeAddress and vaultPoolComptrollerContractAddress being present, and the SubmitButton only surfaces the step when the form is valid. Tests cover the positive and the missing-comptroller-address edge cases. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "fix: withdraw flow of Pendle vault" | Re-trigger Greptile |
Coverage Report for ./apps/evm
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||
19746d8 to
cac98d4
Compare
|
@greptile |
cac98d4 to
cd9e63b
Compare
|
@greptile |
Changes