feat: enhance ObligationEscrow with lastBeneficiary and lastHolder tracking - #74
Conversation
- Introduced mintBlock and shredBlock variables to track the block numbers for minting and shredding actions. - Updated the IObligationEscrow interface to include new functions for retrieving these block numbers. - Enhanced tests to verify the correct functionality of mintBlock and shredBlock during contract operations.
…acking - Added lastBeneficiary and lastHolder state variables to store the addresses before deactivation. - Updated the Shred event to include lastBeneficiary and lastHolder for better tracking. - Modified the _deactivate function to set lastBeneficiary and lastHolder upon contract deactivation. - Updated IObligationEscrow interface to expose new lastBeneficiary and lastHolder functions. - Enhanced tests to verify the correct functionality of lastBeneficiary and lastHolder during contract operations.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe escrow contract now preserves the beneficiary and holder during deactivation. The ChangesEscrow ownership history
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: ⚪ Minimal · up to This localized tracking change has no actionable merge-blocking risk remaining beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
…ub.com:TradeTrust/token-registry into feature/endorsement-chain-fix
|
🎉 This PR is included in version 5.6.0-beta.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
What is the background of this pull request?
Changes
Issues
What are the related issues or stories?
Releases
Channels: latest
ETA: Any target release date
Summary by CodeRabbit