Skip to content

revert: No run-latest.json file found for specified chain #1181

Answered by PatrickAlphaC
sagoto80 asked this question in Q&A
Discussion options

You must be logged in to vote

You can only call that after you deploy a contract! The error is right there:

    │   │   └─ ← [("IO error for operation on /home/kalmrigaya/hello_foundry/foundry-smart-contract-lottery-f23/broadcast: No such file or directory (os error 2)", "/home/kalmrigaya/hello_foundry/foundry-smart-contract-lottery-f23/broadcast", 0, false, false)]

It can't find your broadcast folder. You'll need to actually deploy a contract to run a script!

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@pacelliv
Comment options

@sagoto80
Comment options

Comment options

You must be logged in to vote
2 replies
@Nlferu
Comment options

@sagoto80
Comment options

Comment options

You must be logged in to vote
3 replies
@sagoto80
Comment options

@Nlferu
Comment options

@PatrickAlphaC
Comment options

Answer selected by sagoto80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants