Skip to content

Lesson 13: Error: underflow [ See: https://links.ethers.org/v5-errors-NUMERIC_FAULT-underflow ] (fault="underflow", operation="BigNumber.from", value=19.385226371712914, code=NUMERIC_FAULT, version=bignumber/5.7.0) #3810

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

You must be logged in to vote

I found the issue actually i wrote wrong argument name in lendingPool.borrow() function. I changed amountDaiToBorrow => amountToBorrowWei

Replies: 2 comments 3 replies

Comment options

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

Comment options

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

@cryptocambi
Comment options

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