-
Notifications
You must be signed in to change notification settings - Fork 17
Enigmadark invariant suite #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
debtLimit0: 500e18, // TODO tweak these numbers | ||
debtLimit1: 500e18, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a setup with different pools that have different/random debt limits?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will be using a factory, it may make this setup easier to deploy once it get merged #7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding the comment below, I added maglev parameters randomisation, including debtLimits. Could you clarify what you mean by ‘different pools’?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah just meant pools with different random params.
MaglevEulerSwap.EulerSwapParams({ | ||
priceX: 1e18, | ||
priceY: 1e18, | ||
concentrationX: 0.4e18, | ||
concentrationY: 0.85e18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we fuzz those inputs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm working on randomising maglev deployments and setup using a couple of tricks on echidna
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.