Related to a discrepancy found in delvtech/hyperdrive-frontend#1254
Description
After calling calculate_max_short with a given budget, then calling calculate_open_short with the result of the max call, we're seeing results change pretty dramatically at a certain threshold that seems to adjust based on chain state.
Crash Report
Related to a discrepancy found in delvtech/hyperdrive-frontend#1254
Description
After calling
calculate_max_short
with a givenbudget
, then callingcalculate_open_short
with the result of the max call, we're seeing results change pretty dramatically at a certain threshold that seems to adjust based on chain state.