Closed aciDrums7 closed 11 months ago
MockFailedTransferFrom::mint() method is not returning a boolean, so if someone calls DSCEngine::mintDsc() from a test, the EVM reverts without a specific error.
MockFailedTransferFrom::mint()
DSCEngine::mintDsc()
I've already fixed on my repo and going to open a PR after submitting this issue.
Issue related to: https://github.com/Cyfrin/foundry-full-course-f23/discussions/1165
MockFailedTransferFrom::mint()
method is not returning a boolean, so if someone callsDSCEngine::mintDsc()
from a test, the EVM reverts without a specific error.I've already fixed on my repo and going to open a PR after submitting this issue.