passport
passport copied to clipboard
We're showing the wrong Self staked amount and the user is unable to unstake
Wallet: 0xF1ED61A80c7469273FEa62564eC70A48E09fE170
The user gets this error when they try to unstake from prior season because the incorrect amount is showing up:
{"reason":"execution reverted: Not enough balance to withdraw","code":"UNPREDICTABLE_GAS_LIMIT","method":"estimateGas","transaction":{"from":"0xF1ED61A80c7469273FEa62564eC70A48E09fE170","to":"0x0E3efD5BE54CC0f4C64e0D186b0af4b7F2A0e95F","data":"0x9e2c8a5b0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000014542ba12a337c0000","accessList":null},"error":{"code":-32603,"message":"execution reverted: Not enough balance to withdraw","data":{"originalError":{"message":"execution reverted: Not enough balance to withdraw","code":3}}}}
They staked 125 GTC, but we're displaying 375 GTC. I checked in admin and I see 3 staking events which all point to the same txid
These are the stake events in admin:
- https://api.scorer.gitcoin.co/admin/registry/gtcstakeevent/89918/change/?_changelist_filters=q%3D0xF1ED61A80c7469273FEa62564eC70A48E09fE170
- https://api.scorer.gitcoin.co/admin/registry/gtcstakeevent/89919/change/?_changelist_filters=q%3D0xF1ED61A80c7469273FEa62564eC70A48E09fE170
- https://api.scorer.gitcoin.co/admin/registry/gtcstakeevent/89920/change/?_changelist_filters=q%3D0xF1ED61A80c7469273FEa62564eC70A48E09fE170
We need to display the proper amount so that they will be able to unstake.
Link: Conversation with [email protected]
Customer: [email protected] Customer ID: 1189193f-84b1-4ec6-94c9-72cefd7d7b38
Intercom Operator will send a note to this conversation when this issue is closed.
https://app.intercom.com/a/inbox/xaafeyri/inbox/admin/6462000/conversation/76139?view=List https://app.intercom.com/a/inbox/xaafeyri/inbox/admin/6462000/conversation/75322?view=List