Timeline for Can't get the stored data from blockchain
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 19 at 1:24 | vote | accept | Shorna | ||
May 14 at 5:06 | comment | added | SYED ASAD KAZMI | Kindly please accept the answer, if it helped you. | |
May 14 at 5:05 | comment | added | SYED ASAD KAZMI | You’re welcome, @Shorna. Happy coding! | |
May 14 at 3:21 | comment | added | Shorna | Thank you so much ,it worked | |
May 14 at 1:56 | comment | added | SYED ASAD KAZMI |
You're having two folders (one inside root folder of vite-project and other inside components folder) named as contractJSON and both of them contains chai.json . So, I would recommend you to delete one of them, and import the latest one in your App.jsx . As, you can see in the PR, it's only retaining the root one and importing the same.
|
|
May 14 at 1:47 | comment | added | Shorna | I redeployed the smart contract , got the JSON file as yours , still getting the same error ,don't know why ,is it something to do with my UserList.jsx ? >>ethers.js?v=056a9c92:6568 Uncaught (in promise) Error: missing argument: passed to contract (count=0, expectedCount=1, code=MISSING_ARGUMENT, version=contracts/5.6.0) at _Logger.makeError (ethers.js?v=056a9c92:6568:19) at _Logger.throwError (ethers.js?v=056a9c92:6577:16) at _Logger.checkArgumentCount (ethers.js?v=056a9c92:6637:12) at ethers.js?v=056a9c92:13770:14 | |
May 14 at 0:38 | history | answered | SYED ASAD KAZMI | CC BY-SA 4.0 |