smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.01k stars 2.91k forks source link

The graph resolve error #5362

Open dafejimi opened 1 year ago

dafejimi commented 1 year ago

Lesson

Lesson 15

Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")

No response

Operating System

Windows

Describe the bug

resolve error: failed to resolve data source with source_address Some(0xca268c1457bb2efccba5a3611e6024431b86c2cb) and source_start_block 3338552

alymurtazamemon commented 1 year ago

@dafejimi Hey! I checked your address on sepolia. I think you have mentioned the startBlock at 3338552 inside subgraph.yaml, you should mention 1 block before your contract is deployed 3338551.

I hope this will fix your issue, if you have any queries then feel free to come to the discussions tab. And also close this because this is not a course-related issue, instead, it is a personal code-related issue, for it you can ask in the discussions.

Thanks