Skip to content

"no such file or directory" during verification step when deploying to sepolia #5320

Answered by techybolek
techybolek asked this question in Q&A
Discussion options

You must be logged in to vote

Found the problem. I had the following in my Raffle.sol:

import "@chainlink/contracts/src/v0.8/AutomationCompatible.sol";

contract Raffle is VRFConsumerBaseV2, AutomationCompatible {

instead of:

import "@chainlink/contracts/src/v0.8/interfaces/AutomationCompatibleInterface.sol";

contract Raffle is VRFConsumerBaseV2, AutomationCompatibleInterface {

What puzzles me is that it all worked fine on the local network as well as with goerli.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by techybolek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant