Lesson 9: RaffleTest.t.sol not compiling Error (7407) #1689
Unanswered
trevorparks
asked this question in
Q&A
Replies: 2 comments 6 replies
-
|
Hello @trevorparks, Please show your helperConfig file. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
I had the same problem. Solved the problem |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here is my code:
and this is the error I keep getting.
Error:
Compiler run failed:
Error (7407): Type contract Raffle is not implicitly convertible to expected type tuple(contract Raffle,contract HelperConfig).
--> test/unit/RaffleTest.t.sol:28:34:
|
28 | (raffle, helperConfig) = deployer.run();
| ^^^^^^^^^^^^^^
Out of ideas on how to fix this. I can't move on to testing because it won't compile. Please Help!
Beta Was this translation helpful? Give feedback.
All reactions