near / near-wallet

Web wallet for NEAR Protocol which stores keys in browser's localStorage
https://wallet.near.org
MIT License
220 stars 176 forks source link

Unable to withdraw funds from staking (after release period) #2548

Closed JoaquimLey closed 2 years ago

JoaquimLey commented 2 years ago

Problem When trying to withdraw the funds from a validator (stacking) I'm unable to go on with the tx (there's no error feedback)

Expected Behavior I should be able to withdraw my funds after the the pending release period

Steps to reproduce

  1. Go to the Near Wallet stacking page
  2. Select a validator to which you've previously clicked Unstake and waited the 4 epoch period
  3. Click Withdraw
  4. Nothing happens... No visual feedback
{
  "block_height": 62126595,
  "error": "wasm execution failed with error: FunctionCallError(MethodResolveError(MethodNotFound))",
  "logs": []
}
zcstarr commented 2 years ago

I'm able to repro this same exact issue.

image

Redacted the args, some of the info but seems like get_farms method call is failing

Here's the response

image
{"jsonrpc":"2.0","result":{"block_hash":"4AJoYTRvrgE3S7vRHsoY1hq9zJd6odepscy491jqaq6t","block_height":62142232,"error":"wasm execution failed with error: FunctionCallError(MethodResolveError(MethodNotFound))","logs":[]},"id":1119}
gutsyphilip commented 2 years ago

Hey @JoaquimLey @zcstarr

Thanks for creating this. We are now investigating this issue.

MaximusHaximus commented 2 years ago

This fix is now live on mainnet, sorry about the inconvenience!

zcstarr commented 2 years ago

Confirmed fixed thanks!

JoaquimLey commented 2 years ago

Confirmed, I was able to withdraw.

Thank you for the quick response.

Todun2020 commented 2 years ago

I can't withdraw pls help me

JoaquimLey commented 2 years ago

I can't withdraw pls help me

Please provide as much context as possible, and stackoverflow/discord might be a better place to seek help 🙂

Todun2020 commented 2 years ago

I chat on discord but no one answer me