Skip to content

Classic ETH-flow: wrong amount can be sent to a wallet #6303

@elena-zh

Description

@elena-zh

Reported in https://cowservices.slack.com/archives/C0361CDG8GP/p1758726910453449

Steps:

  1. you have 0.3 WETH in your balance (an amount can be different, but I provide amounts for better understanding of the issue)
  2. I specify ETH-flow order with selling 0.25 ETH per another token
  3. Expand the classic eth-flow dropdown
  4. Press on the Switch to WETH button
  5. Then I switch back to the ETH token in the sell field
  6. change the amount of eth to 0.5
  7. again, expand the classic eth-flow and go through wrapping/approval flow there
  8. when I press on the Confirm swap button on the final step-->

AR: I see that the amount of 0.25 WETH (from the step 2) is sent to my wallet

Image

ER: a new approved/wrapped amount should be sent to the trade

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingLowSeverity indicator for defects. It won't cause any major break-down of the system

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions