-
I solved some unit tests Errors. But these things i cannot able to find out.
i found that some of my test got error due to this lines await raffle.performUpkeep([]) const tx = await raffle.performUpkeep("0x") |
Beta Was this translation helpful? Give feedback.
Answered by
zulfi984
Jul 31, 2022
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zulfi984
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reverted with custom error 'InvalidConsumer()'
This error because of latest version and that I'm currently on @chainlink/contracts@0.4.2
downgrading to 0.4.1 using the following command eliminates this issue:
npm i @chainlink/contracts@0.4.1