Skip to content

Defi StableCoin: Assertion failed when running Invariants test #3026

Answered by jprabhat
ajoomye asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, @ajoomye I also got this issue but gets resolved by putting these in foundary.toml

[invariant]
runs = 1000
depth = 128
fail_on_revert = false

as we increased runs value to 1000 the setup gets completed and test passes successfully!
hope this will help you

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@KMean
Comment options

@EngrPips
Comment options

@ajoomye
Comment options

@EngrPips
Comment options

@KMean
Comment options

Answer selected by PatrickAlphaC
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