Replies: 3 comments 3 replies
-
Could you push to GitHub? I will look into it |
Beta Was this translation helpful? Give feedback.
-
👉 👉 Those blockchain developers who are done with the Lesson#15 repo, they can go to this thread #2107 : 🔥🔥🔥🔥🔥🔥 |
Beta Was this translation helpful? Give feedback.
-
I'm copy/pasting this solution I found and gave in another post, in case someone comes here. I had a similar error:
Looking into the ABI of the contract (that had been thrown into the build folder), line 241 would be the beginning of the {
"type": "function",
"name": "getProceeds",
"constant": true,
"stateMutability": "view",
"payable": false,
"gas": 29000000,
"inputs": [
{
"type": "address",
"name": "user"
}
],
"outputs": [
{
"type": "uint256"
}
]
} Which outputs a function getProceeds(address user)
external
view
returns (uint256)
{
return s_proceeds[user];
} So I just added And now deploying with TheGraph works! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
when i execute the command
graph deploy --studio nft-marketplace
, error is as below:Failed to deploy to Graph node https://api.studio.thegraph.com/deploy/: subgraph resolve error: resolve error: Serialization error: missing field 'name' at line 70 column 3
it doesn't show exactly which file the error comes from. I also checked the forum of thegraph and didn't find the related topic. Did anyone meet the same issue?
Beta Was this translation helpful? Give feedback.
All reactions