Error: could not decode result data (value="0x", info={ "method": "retrieve", "signature": "retrieve()" }, code=BAD_DATA, version=6.8.0) #6214
Replies: 2 comments 2 replies
-
If you deploy it locally, there is no problem with calling it directly after deployment, but there will be a problem when you go to the testnet, I don't know the specific details, but I can sleep for 10s after deployment and then interact with the contract.Add to the end of your contract deployment statement:await new Promise(resolve => setTimeout(resolve, 10000)).You can give it a try |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, you need to wait for at least one confirmation block, before interacting with the contract, to be sure that i works you can wait for 6 confirmation blocks ( as in the video )
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pleas some one help fix the error above
Beta Was this translation helpful? Give feedback.
All reactions