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

Uncaught (in promise) TypeError: Cannot read property 'methods' of undefined at claim.js:140 #26

Open
4 of 6 tasks
cybertronprime opened this issue Jun 22, 2021 · 1 comment

Comments

@cybertronprime
Copy link

cybertronprime commented Jun 22, 2021

Describe the bug
So if a user click on claim rewards , a Uncaught error occurs . at claim.js 140.
I did not have any coins in my balance, but technically all errors should be caught inside the try-catch block.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to alpha.pstake.finance
  2. Click on Claim now
  3. Open the console and check for this "Uncaught (in promise) TypeError: Cannot read property 'methods' of undefined at claim.js:140 "

Expected behavior
The error should be handled. This might cause some token loss if other functions also don't have a good Error Handling mechanism.

Screenshots
https://drive.google.com/file/d/1lvFtn8kl-kC7xm1z1y5n2m8BWU5_qSBu/view?usp=sharing

Desktop (please complete the following information):

  • Mac OS Big Sur
  • Chrome
    -Latest Build

Additional context
Add any other context about the problem here.

Ethereum address
0xcD988D0DB4B3e7C4A666C8A2fB42E4447E8f11df

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.
@cybertronprime
Copy link
Author

Tried to recreate it myself. Not sure why it isnt coming up now. Will look into it closely once more.

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