Skip to content

Pre-Authorization UI Bug #3

@LoganJastremski

Description

@LoganJastremski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions