lesson-14 testing Error #2948
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
The relevant code snippet (from RandomIpfsNft.sol, which accounts for the test) for the above please. Additionally, the declaration line for the custom error RandomIpfsNft_RangeOutOfBounds |
Beta Was this translation helpful? Give feedback.
-
@othaime-en You know about this Error? |
Beta Was this translation helpful? Give feedback.
-
@TimeKeyRoll : I have made a PR in your repo, You can merge it and try it out! Note: The mistake was in your contract function getBreedFromModdedRng , Your logic in if statement was incorrect! After Merging PR it should work just fine! Let me know, If your issue gets resolved! |
Beta Was this translation helpful? Give feedback.
@TimeKeyRoll : I have made a PR in your repo, You can merge it and try it out!
Note: The mistake was in your contract function getBreedFromModdedRng , Your logic in if statement was incorrect!
After Merging PR it should work just fine!
Let me know, If your issue gets resolved!