Lesson 6: forge script error #82
Replies: 3 comments 4 replies
-
Hello @guyInTheChair this is a strange problem as your cost is exactly the same as on the Repo.
|
Beta Was this translation helpful? Give feedback.
-
@guyInTheChair Did you save the file? |
Beta Was this translation helpful? Give feedback.
-
Mine gave a different error message:
ChatGPT tells me this: Please make sure that the path to the SimpleStorage.sol file is correct. Double-check that the file is located in the correct directory relative to the DeploySimpleStorage.sol file. Assuming that the SimpleStorage.sol file is in the ../src/ directory, you should update the import statement as follows: solidity That was yesterday. Now I run the exact script (unchanged from yesterday) again, and it compiles successfully. This is the second time I had to quit the program and than continue the next day, and it suddenly works. Any thoughts as to why? |
Beta Was this translation helpful? Give feedback.
-
Hello
While running the below command in terminal I am getting an error. This is from Lesson 6. Could anyone please help?
forge script script/DeploySimpleStorage.s.sol
Below is my DeploySimpleStorage.s.sol code
Beta Was this translation helpful? Give feedback.
All reactions