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
The auction logic sets the start block to cur_block + 1, causing a potential underflow if the auction is filled on the same block, which could result in a loss of capital for the liquidated user.
This is currently blocked by a build configuration, but either checked math and/or tests need to be added to ensure a build configuration change does not break this assumption.
The text was updated successfully, but these errors were encountered:
mootz12
changed the title
BL-002 - Integer underflow in auction scaling mechanism
BLRC-018 - Integer underflow in auction scaling mechanism
Jan 1, 2024
The auction logic sets the start block to
cur_block + 1
, causing a potential underflow if the auction is filled on the same block, which could result in a loss of capital for the liquidated user.This is currently blocked by a build configuration, but either checked math and/or tests need to be added to ensure a build configuration change does not break this assumption.
The text was updated successfully, but these errors were encountered: