Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An attempt to unwrap pAtoms on gala.pstake resulted in balance nullification #41

Open
2 tasks
FYusufov opened this issue Jul 9, 2021 · 1 comment
Open
2 tasks

Comments

@FYusufov
Copy link

FYusufov commented Jul 9, 2021

Describe the bug
An error in smart-contract, leading to a loss of the balance
A number of attempts to unwrap maximum balance of pAtoms failed. After last attempt the balance worth 522 pAtoms disappeared. Reconnection of Metamask and Keplr and relaunch of browser did not help

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'https://gala.pstake.finance/'
  2. Choose 'Unwrap' on the upper tab
  3. Click on 'Max' to load a maximum balance of pAtoms to unwrap
  4. Insert the 'cosmos' wallet address used for gala.pstake
  5. Click 'Unwrap'
  6. See error

Expected behaviour
A user can lose a balance of pAtoms

Screenshots
If applicable, add screenshots to help explain your problem.
1
2
3

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Browser: Brave
  • Version: 1.26.74, Chromium 91.0.4472.124 (64-bit)

Additional context
In general, delays (up to 10-15 sec) in updating the balance after transactions are observable.

Ethereum address
0xA23C644Ef97AE2F4E69Cd8f2E0a4F2Be9e29593D

Criticality Assessment
Please pick one:

  • [+] High: An issue that might cause immediate loss of the funds or permanent/severe damage of the protocol state
  • Medium: An issue that might theoretically cause minimal loss of funds damage the protocol state or cause severe user dissatisfaction
  • Low: An issue that might cause user dissatisfaction or minimal failure of the application

Checklist

  • [+] The reported issue is in the scope of the pStake BugBounty program.
  • [+] This issue has not been reported before.
  • [+] The ethereum address filled in is valid.
@FYusufov
Copy link
Author

FYusufov commented Jul 9, 2021

I have checked it again. A transaction is successful according to Etherscan but Atoms have not been deposited to Keplr wallet: https://ropsten.etherscan.io/tx/0xa7b30a39eab84684f6c4c647ce357b1306ecd9d1bbe4295def3f5c68a64a2862

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant