Skip to content

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

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

vnmrtz
Copy link
Collaborator

@vnmrtz vnmrtz commented Jan 1, 2025

No description provided.

Comment on lines 156 to 157
debtLimit0: 500e18, // TODO tweak these numbers
debtLimit1: 500e18,
Copy link
Contributor

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?

Copy link
Contributor

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

Copy link
Collaborator Author

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’?

Copy link
Contributor

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.

Comment on lines 187 to 191
MaglevEulerSwap.EulerSwapParams({
priceX: 1e18,
priceY: 1e18,
concentrationX: 0.4e18,
concentrationY: 0.85e18
Copy link
Contributor

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?

Copy link
Collaborator Author

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hoytech added a commit that referenced this pull request Mar 12, 2025
hoytech added a commit that referenced this pull request Mar 12, 2025
@saucepoint saucepoint mentioned this pull request May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants