Closed crowszero12 closed 2 years ago
I found the related code here: https://github.com/pancakeswap/pancake-frontend/blob/1e8a4052bde39e4ffdde4fcf3353379dbd5c07a8/src/views/RemoveLiquidity/index.tsx#L252-L256
So I guess the error occurred by estimating the gas fee failed.
Maybe this is your network issue.
Check the console carefully and see what else errors are displayed, the 3rd parameter is the real error.
@zhyd1997 so far this is what appears in google chrome inspect Click enable > metamask signature prompt > click remove > this transaction could fail prompts
MetaMask: 'ethereum.send(...)' is deprecated and may be removed in the future. Please use 'ethereum.sendAsync(...)' or 'ethereum.request(...)' instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193
send @ inpage.js:1
Ee.h.default.createElement.callbacks @ index.js:515
Ee @ index.js:831
(anonymous) @ index.js:408
s @ runtime.js:45
(anonymous) @ runtime.js:274
P.forEach.e.
Try to increment your gas fee.
tried to set the slippage up to 49% still failing.
@crowszero12 not slippage:
@crowszero12 not slippage: Screen.Recording.2022-03-14.at.19.42.22.mov
I can't get to that part since if I click confirm of removal of liquidity this pops up : https://i.imgur.com/HLdbXci.png
It's not expected. Could you show a video?
I confirm that the gas fee can be edited just like the video shows: https://github.com/pancakeswap/pancake-frontend/pull/3166#issuecomment-1058891991
You won't able to show metamask confirm txn (gas fee edit describe above) if we can't estimate gas fee. It usually happens when your signature or amount is incorrect. I can't tell more without the knowing the params maybe try different amount
I won't get through the remove>confirm(which would popup a gas confirmation on metamask) instead I get the "ERROR - This transaction could fail. I even tried to withdraw 1 token = BNB, still the fail pops up.
@crowszero12 Could record a video?
I found the signatureData.deadline
is 1647258361
from this comment: https://github.com/pancakeswap/pancake-frontend/issues/3480#issuecomment-1066671914.
new Date(1647258361 * 1000).toString()
// 'Mon Mar 14 2022 11:46:01 GMT+0000 (Coordinated Universal Time)'
Does that mean the signatureData
is expired?
@chef-jojo what's your idea?
@crowszero12
Did you try the v1
liquidity?
when I'm trying in : https://v1exchange.pancakeswap.finance/ to the liquidity, it just says "No pool found"
this the router I used : https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e
@crowszero12 Have you tried the other wallet instead of MetaMask?
@zhyd1997 I did, I was using binance wallet (browser) but didn't find any luck at all. However unlike metamask it prompted approve/enable button, then same result with the remove/confirm which the same error appeared
I bet you have high fee on transfer?
tax was set high on the contract, I reverted it to 0%, I have taken all of it. It happened to crossed my mind that i set the taxes too high. thanks for your help @chef-jojo @zhyd1997
let's buy $1500 lottery
This is due to bug on pancakeswap and I have solution of this.I already helped to recover funds of other Devs . Contact me on Telegram @FiazAhmad
I had the same issue you know, Try to increase the slippage to 49% and consider increasing the allowance of the token, if it doesn't work, follow the steps on this video https://www.youtube.com/watch?v=yph8lMt7ojc The problem will definitely be solved
Don't try from youtube link over some IndigoSwap website - it's a scam. What helped me increasing slippage to 49%. It taxed me almost 4% for removing liquidity but it worked from pancake.
So I've come accross so many topics over the internet and hit a dead end. this is basically a Token-BNB liquidity and it happened I can't pull it out. Pancakeswap says "ERROR, This transaction would fail", I have almost $30,000 trapped in that liquidity so I'm giving away a bounty - It's better to give something or it might end up trapped forever.
I own the contract and its interacted with PC router and Factory
Tried Solutions : X - Receive WBNB instead of BNB X - Tried it on multiple browsers as well as on metamask app on android X - Tried Approving the owner to the contracts X - Tried increaseallowance
I found someone on an old github post telling setSwapAndLiquifyEnabled set to false but I happen can't find it.
Console error : removeLiquidityETHWithPermit removeLiquidityETHWithPermitSupportingFeeOnTransferTokens
PC router https://bscscan.com/address/0x10ed43c718714eb63d5aa57b78b54704e256024e#code
Factory https://bscscan.com/address/0xca143ce32fe78f1f7019d7d551a6402fc5350c73#code
Kindly DM me your solutions if you have any - Thanks!