perawallet / pera-wallet

Source code for Pera Wallet, simply the best Algorand wallet.
https://perawallet.app
Other
189 stars 60 forks source link

If Connected prompt is ignored, cannot sign first tx #77

Closed every-time closed 1 year ago

every-time commented 2 years ago

Steps to reproduce:

  1. Connect to a website.
  2. Ignore the "You are Connected to ..." prompt.
  3. Trigger a transaction on the website.
  4. The "Unsigned Transactions" prompt will be behind the Connected prompt. Upon clicking "Close" on the Connected prompt, both the "Unsigned Transactions" and Connected prompts disappear.
Sau1707 commented 2 years ago

Same problem, here there is the video of the bug.

The transaction that I send after 5 seconds get closed by closing the button of the "You are Connected to ..."

taylanpince commented 2 years ago

Thank you for this, we are investigating the issue.

rubendg commented 2 years ago

I can confirm this happens on Android, pera wallet v5.3.0.

I'm using https://www.npmjs.com/package/@walletconnect/client and the dismissal of the popup causes the dapp to hang until the transaction is either confirmed or cancelled, any subsequent retries throw the following error Error: Transaction Request Rejected: The User currently has another transaction request that is in progress..

In order to (partially) recover, I close and re-open pera, re-issue the transaction, the transaction succeeds, but the subsequent transaction fails again, and I have to repeat the same process.

yigitguler commented 1 year ago

Tracking this internally.

yigitguler commented 1 year ago

This seems to be resolved according to our tests. Please let me know if you still experience this problem.