fix: Decommissioning zero-state vaults with empty portfolio#230
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe PR expands vault decommissioning completion logic to recognize empty portfolios with zero assets as fully liquidated, alongside the existing single-underlying-asset condition. A test harness method is added for direct testing, supported by a comprehensive test suite validating state transitions across zero-state, 100% underlying, and blocked-completion scenarios. ChangesVault Decommissioning Portfolio Liquidation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary by CodeRabbit
Bug Fixes
Tests