Skip to content

Lesson 7: FAILED tests/test_lottery_unit.py::test_can_pick_winner_correctly - AttributeError: Contract 'VRFCoordinatorMock' object has no attribute 'callbackWithRandomness' #1408

Discussion options

You must be logged in to vote

I figured it out, it was a typo in the function's name:

callback vs callBack!!!!

Thank you again for your help, I'll keep forging ahead!

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@cromewar
Comment options

@pbelouin-mpiwg
Comment options

@cromewar
Comment options

@pbelouin-mpiwg
Comment options

@pbelouin-mpiwg
Comment options

Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

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