-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Overview: Compound Dashboard doesn't signal to user that pre-authorization is below the outstanding loan repayment threshold, resulting in failed transaction to repay loan. The User is confused, because the transaction is accepted on-chain but failed to repay loan amount.
Recommendation - If transaction failed due to pre-authorization being below the limit inform User via UI.
Ethscan URL: Failed Transaction due to Auth limit being too low - https://etherscan.io/tx/0x9c11099eff0cbdfc6577e71ed3d08e061399da7fb78febf2bce0dd117ebc5f25
Scenario: Users has open loan balance that they're trying to repay on compound
Given User has outstanding compound loan
And the pre-authorized amount is below the repayment amount
When User submits transaction to blockchain to repay loan amount (example above)
And The blockchain confirms the transaction, but the pre-authorization is too low to successful repay amount
Then Compound should update UI informing User their pre-authorization is too low and needs to be updated to repay