[SDK] Error: invalid value for value.totalDifficulty when calling wallet.finalizeWithdraw #809
-
Team or ProjectTreasure Select the SDKJavaScript EnvironmentTestnet Issue DescriptionReceiving a weird error calling wallet.finalizeWithdraw : Error: invalid value for value.totalDifficulty. Started a withdraw here, using the BaseToken contract https://explorer.topaz.treasurescan.io/tx/0x416c8650b9614909e35bf54e09e5fa3c77bb4da54d82b8cecddea5da604f2caf#overview
Repo Link (Optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It appears that the error you're encountering, Here are a few steps you can take to troubleshoot and potentially resolve this issue:
This issue highlights the challenges of working with different blockchains and the importance of ensuring that the tools and libraries used are fully compatible with the specific features and data structures of the blockchain you are working with. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Looking into this and will follow up. |
Beta Was this translation helpful? Give feedback.
-
It seems that Treasure Topaz is returning null for |
Beta Was this translation helpful? Give feedback.
It seems that Treasure Topaz is returning null for
totalDifficulty
and not random number like ZKsync does, we will create a fix and allow null fortotalDifficulty
. Release should be out today