Closed whoopsoops closed 1 year ago
@whoopsoops This issue is answered in many discussions (here is one #1375), please make sure to first search through discussion tabs and then if you do not find the solution then create a discussion or issue. Thanks.
@alymurtazamemon thanks for your reply. But I did search the discussions. If you noticed, I even quoted one of them. I knew there were solutions provided in other discussions, but no one actually clearly explained how the error happened. Anyway, I figured
closing #4870
The solution provided in #4440 can fix the problem, but I have a follow-up question: why does this error happen in the test "doesnt allow entrance when raffle is calculating" only since it doesn't not use vrfCoordinatorV2Mock at all? Why doesn't the test ""emit event on enter" fail?
Discussed in https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/4440