pancakeswap / pancake-swap-interface-v1

:pancakes: Pancake trading interface V1
https://exchange.pancakeswap.finance
GNU General Public License v3.0
315 stars 943 forks source link

WalletConnect not interacting with site features/contracts MaxListenersExceededWarning #133

Open xandercakes opened 3 years ago

xandercakes commented 3 years ago

Bug Description After unlocking/connecting a wallet on https://pancakeswap.finance/pools using WalletConnect and scanning the QR code with SafePal or Trust Wallet apps, the unlocked wallet cannot interact with the contracts/site features. For example, on the pools page if trying to unstake the site shows the transaction as pending but no transaction appears in the wallet app for approval.

Steps to Reproduce

  1. Go to https://pancakeswap.finance/pools
  2. Click on "connect" button (upper right).
  3. Select "WalletConnect".
  4. Scan QR with TrustWallet.
  5. Attempt to approve a pool or unstake from a pool.
  6. No transaction appears in wallet app, if unstaking the site shows it is pending.
  7. No transactions shown in BSCscan meaning there is not interaction with the contracts.
  8. Inspection of page shows [MaxListenersExceededWarning] (entire report below).

Expected Behavior A clear and concise description of what you expected to happen.

Additional Context Brave Version 1.18.77 Chromium: 87.0.4280.101 (Official Build) (64-bit) and Firefox Version 1.18.77. Chromium: 87.0.4280.101 (Official Build) (64-bit) Android 11. Trust Wallet 1.23.5 and SafePal 2.5.1. Multiple users reported the same issues regardless of browser or phone. Safari, Chrome, and various iOS versions excperienced the same issue.

console-export-2021-1-8_2-2-29.txt

https://user-images.githubusercontent.com/77136438/103999322-f89e5f80-5159-11eb-93f6-e50f47a031ff.mp4

xandercakes commented 3 years ago

Failure to approve a new pool.

https://user-images.githubusercontent.com/77136438/103999886-b88bac80-515a-11eb-8ef6-e8685dce5991.mp4

Francoisggggg commented 3 years ago

Hello,

Same problem here with TrustWallet using Wallet Connect : I can connect my wallet but I am unable to approve anything. I wanted to use directly he dapp browser inside Trustwallet but it is not on IoS since the last restriction of Apple. A solution written in Trustwallet site is to install a beta version of Trustwallet with this Dapp browser but this beta version is full of user and I can not download it...

If somedoby has a solution, thanks

urri10 commented 3 years ago

Yo lo mismo, imposible. para lo que quiero hacer... lo haré en un viejo xiaomi que me va a dejar un amigo, paso de perder más tiempo en algo así. si lo solucionan de aquí un tiempo perfecto pero si no... Un saludo y suerte, si alguien ya lo ha solucionado.

Matiquiel commented 3 years ago

Same for me, cant accept anything. I was able to get it to work one time via browser and then it stopped working.

problemobro commented 3 years ago

I have the same problem with the Binance chain wallet, brave, chrome or firefox doesn't matter. I can buy a lotteryticket but when I am in the syrup pools I can unluck my wallet and see what I have staked, but I can't harvest, compound or unstake. I didn't have this problem until about a week ago. Is there a sollution to this yet?

bogdanIuga commented 3 years ago

I'm having the same issue with Chrome and Binance Chain extension. I'm trying to stake more Cake, select the amount, click Confirm, the button changes to "Pending Confirmation" and nothing happens after.

Sometimes, the Chrome gets very laggy and also sometimes I do get a pop-up after 10-15 minutes, but it says "Insufficient balance", even thought I have ~0.15 BNB (~40$) in the wallet.

Happens all the time when I'm trying to stake or harvest. I attach a photo where it gets stuck

image

problemobro commented 3 years ago

Hi there It seems to be a pretty common problem with the binance wallet, and maybe some of the others.
I copied my wallet into a metamask wallet instead, and there are no problems with metamask. https://github.com/pancakeswap/pancake-frontend/issues/646