Fukunaga42 / dether

MIT License
3 stars 1 forks source link

Error when removing funds from liquidity pool of Uniswap V2 #13

Open ihlec opened 3 years ago

ihlec commented 3 years ago

I know that Dether is aware of this issue. https://github.com/Uniswap/uniswap-interface/issues/835#issuecomment-662743840

The proposed workaround by Uniswap does not work for me. https://github.com/Uniswap/uniswap-interface/issues/835#issuecomment-635469820

The contract causes an exception in the removeLiquidity function. MetaMask states: "ALERT: Transaction Error. Exception thrown in contract code."

Maybe I messed up my inputs. I guess someone could confirm or deny this soon.

JayTay29 commented 3 years ago

Ive gone through the same steps as https://github.com/Uniswap/uniswap-interface/issues/835#issuecomment-635469820. However I am faced with the same issue... MetaMask states: "ALERT: Transaction Error. Exception thrown in contract code." and the gas fee is over $1,000.

Any help would be appreciated

easy2020i commented 3 years ago

Same issue. Please help :(

Fukunaga42 commented 3 years ago

https://github.com/Uniswap/uniswap-interface/issues/835#issuecomment-635469820 This workaround should work. Metamask can show abnormal transaction cost, because of excessive amount of gas provided for the transaction. So be sure to have something normal like 300000/400000 on gas amount provided to the transaction

easy2020i commented 3 years ago

Yeah it shows 0.4 bnb transaction fee but still metamask says the transaction would fail