Open
Description
Fuzz testing is seeing the following errors:
calculate_max_long
InsufficientLiquidity: Negative Interest
Initial guess in calculate_max_long is insolvent
target share reserves less than effective share reserves
calculate_max_short
absolute_max_short is insolvent
arithmetic operation overflow
The fuzz pool is initialized to a known-good state (@slundqui is 80% certain it is good based on visual inspection of the parameters from himself, Jonny, & Alex and comparison against rust CI tests).
Random bots make trades and call calc_max_long
and calc_max_short
at random times throughout.
Metadata
Metadata
Assignees
Labels
No labels