Skip to content
Discussion options

You must be logged in to vote

Hello @Logicalboy101, The error is coming from the redeemCollateral function inside your DSCEngine contract, I will advice that you use cosole.log inside that function to see if there are values that are weird in the function process.

├─ [12296] DSCEngine::redeemCollateral(ERC20Mock: [0xA8452Ec99ce0C64f20701dB7dD3abDb607c00496], 16707201701510236625528490922 [1.67e28])
       └─  [Revert] panic: arithmetic underflow or overflow (0x11)
    └─  [Revert] panic: arithmetic underflow or overflow (0x11)

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@BhamlaPrince
Comment options

@EngrPips
Comment options

@BhamlaPrince
Comment options

@EngrPips
Comment options

@NicolasTfile
Comment options

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