Protocol uses a TPP(Tree proxy pattern) and loads configuration stored in slots. However, the implementation is not handled for slots with 0 data (slots that have nothing stored in them yet), Ans as such returns 0 to the configuration getter functions instead of reverting. This could have minor impacts on the protocol and gas related issues. It is always best to properly handle and catch errors.
Below are the various functions used to load storage slots without proper error handling
MarginalCollateralConfiguration::load
Referrals::load
CustomReferralConfiguration::load
GlobalConfiguration::load
MarketOrder::load
PerpMarket::load
Position::load
SettlementConfiguration::load
TradingAccount::load
LookUpTable::load
Gas wastage
Manual Review
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.