fix(swap): block veDelegate from being swapped — v2.10.0#625
Conversation
Disable swap on the veDelegate token detail and exclude veDelegate from both sides of the swap token-selection list. veDelegate remains transferable elsewhere. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR extends swap token exclusions by introducing a centralized ChangesveDelegate Swap Exclusion Hardening
Sequence Diagram(s)No sequence diagrams generated for this PR. The changes are focused on exclusion filtering logic and button state management, which do not involve multi-component request/response flows or complex control-flow sequences warranting visualization. Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
🚀 Preview environment deployed!Preview URL: https://preview.vechainkit.vechain.org/fixswap |
|
Size Change: 0 B Total Size: 8.84 MB ℹ️ View Unchanged
|
Summary
veDelegate remains transferable via the Send flow — only swapping is blocked.
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Chores