Skip to content
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

fuzz test pool library for solvency #81

Open
moodysalem opened this issue May 11, 2022 · 2 comments
Open

fuzz test pool library for solvency #81

moodysalem opened this issue May 11, 2022 · 2 comments
Labels

Comments

@moodysalem
Copy link
Contributor

moodysalem commented May 11, 2022

this should be much easier to do now that pool logic is in a library. verify that via calls to modify position and swap, all positions will always be solvent. we should probably use mythx for this. tried it with forge, but it has some drawbacks over echidna/mythx style fuzz tests, mainly does not test sequences of transactions, but handling reverts is also painful
b18e172

@marktoda marktoda self-assigned this Jun 8, 2022
@marktoda
Copy link
Contributor

marktoda commented Jun 8, 2022

I have an idea for how to do this with forge - giving it a shot

@hensha256
Copy link
Contributor

@marktoda to redo this with invariant tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants