Uniswap / v3-core

🦄 🦄 🦄 Core smart contracts of Uniswap v3
https://uniswap.org
Other
4.38k stars 2.68k forks source link

Error in the Optimism Uniswap v3 contract ETH-WETH - lost 30 ETH #590

Open nikolasete opened 1 year ago

nikolasete commented 1 year ago

Sequence of events:

Rabby wallet used for the transaction (https://rabby.io/) downloaded from chrome store. Brave browser (v 1.43.93) running in Windows 10 Home 21H2

  1. Connected to https://app.uniswap.org/#/swap

  2. Selected the Optimism blockchain.

  3. Swap 30 ETH to WETH in the UI. The button changed to "WRAP".

  4. Transaction signed and sent, but instead wrapping, it transferred the 30 ETH to other wallet (0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2), transaction hash 0x97be403fe3a77dc9a2083016d8bad2f69aae5a0574bda484726d0dcfb9704100

  5. 30 ETH lost

Notified UNISWAP support team two months ago, still no response as to what has happened. Contacted the RABBY team, they are aware of the failure and have had other notifications, they are unable to provide further details.

It seems that the contract that is referenced is the ETHEREUM Blockchain contract, rather than the Optimism WETH contract. Therefore, by interacting with the wrong contract, in the end, what it has done is to send the ETH to the address of the WETH contract on the ethereum blockchain.

This bug may be affecting networks other than ethereum.

ZCalz commented 1 year ago

This may not be an issue on the contract side but the UI side. Try posting on: https://github.com/Uniswap/interface

nikolasete commented 1 year ago

This may not be an issue on the contract side but the UI side. Try posting on: https://github.com/Uniswap/interface

Done https://github.com/Uniswap/interface/issues/5192