Skip to content

Lesson 9: 15:52:08; AssertionError: Expected transaction to be reverted with reason... #5638

Answered by CryptoNube
CryptoNube asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind!
Right after I posted this, I realized that I forgot to check the VRFCoordinatorV2Mock.sol contract from "@chainlink/contracts/src/v0.8/mocks/VRFCoordinatorV2Mock.sol";
Indeed that is where the revert("nonexistent request"); comes from.

P.S.
I wish you could delete discussions in github because of things like this 🥴

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by CryptoNube
Comment options

You must be logged in to vote
2 replies
@aaankeet
Comment options

@CryptoNube
Comment options

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