You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are limited tests for rust calculate_* functions against what's implemented in solidity:
Open long/short doesn't fuzz against solidity.
Close long/short only fuzzes the underlying calculate_close_long_flat_plus_curve and calculate_close_short_flat_plus_curve against the calculate_close_* from hyperdrive math. However, these functions do not take fees or negative interest checks into account (both on the solidity and rust side).
Ideally, we would fuzz these trades against the public interface of hyperdrive.
The text was updated successfully, but these errors were encountered:
There are limited tests for rust
calculate_*
functions against what's implemented in solidity:calculate_close_long_flat_plus_curve
andcalculate_close_short_flat_plus_curve
against thecalculate_close_*
from hyperdrive math. However, these functions do not take fees or negative interest checks into account (both on the solidity and rust side).Ideally, we would fuzz these trades against the public interface of hyperdrive.
The text was updated successfully, but these errors were encountered: