You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(validation_logic): improve user control by disabling auto-collateralization
- Enhance protocol security and user experience by requiring explicit collateral activation
- Users must now manually call set_user_use_reserve_as_collateral to enable collateral
- Eliminate potential state inconsistencies and improve protocol predictability
- Update all related test cases to reflect new manual collateral activation behavior
- Provide users with full control over their collateral settings
This improvement:
- Reduces protocol complexity and potential edge cases
- Improves user control and account state management
- Enhances protocol reliability and safety
- Slightly increases user operation steps but greatly improves protocol predictability
Files modified:
- sources/aave-logic/validation_logic.move: Core logic improvement
- tests/aave-logic/*.move: Test case adaptations for new behavior
- tests/aave-pool/*.move: Pool-related test updates
- tests/aave-periphery/*.move: Periphery test updates
Breaking change: Users must now explicitly enable collateral after supply/transfer/liquidation operations
0 commit comments