persistenceOne / pStake-bugBounty

This repository is to record issues reported for the pStake bug bounty program.
3 stars 2 forks source link

Unstake Amount increase too much Total Unbonding Tokens Issue #34

Closed igtumt closed 3 years ago

igtumt commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

Hello, at first i have 5 amount pAtom total unbonding tokens, when i tried to unstake a minutes ago about amount 5 , i accidentally unstake 5 and then click on unstake 5 again before the transaction finished in the metamask. And then i see that my unbonding tokens show 75 pAtom which was about 5 amount so i got more pAtom which how its happen i dont understand. And now it added 5 more and it become 80 amount.

To Reproduce Steps to reproduce the behaviour:

2. Click on 'Unstake button'

Expected behaviour A clear and concise description of what you expected to happen. Normally it should add 5+5 amount or 5+5+5 amount max but it increase too much amount.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

- Browser [e.g. chrome, safari] i use firefox

Additional context Add any other context about the problem here. i added transactions view here to show my balance is wrong. pstake3 pstake2 I can give more info if you need. Thanks.

Ethereum address Your ethereum wallet address to receive the bounty on reporting a valid bug.

0xbcAa74F9ac5f33d7e5a04EDBb5AaF223195B1e81

Criticality Assessment Please pick one:

Checklist

igtumt commented 3 years ago

after some hours pATOM in total unbonding tokes looks normal but not correct amount i guess you can check from transactions. image

kombos commented 3 years ago

the data in blockchain is correct only. the data displayed in pstake app seems to show wrong because of multiple duplicate events read. This issue has been identified but since this is only an issue of display in the app, while the actual data in the blockchain is correct, this has been categorized as a low priority issue since there is no loss of tokens or funds of any sort.

kombos commented 3 years ago

please provide your ethereum address at the earliest to process bounty.

igtumt commented 3 years ago

hi, thank you for explanation. This is my eth address 0xbcAa74F9ac5f33d7e5a04EDBb5AaF223195B1e81

madhursatija commented 3 years ago

Rewards sent: https://etherscan.io/tx/0x30f6a47bc8a63f3ab2d3d5ee9b9d0b6c9eb46b273cd69e6c0cd0dc7ed30c1fe9