All AMMs have to be past nextFundingTime to update #130
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Lines of code
https://github.com/code-423n4/2022-02-hubble/blob/ed1d885d5dbc2eae24e43c3ecbf291a0f5a52765/contracts/AMM.sol#L348
Vulnerability details
Impact
settleFunding calls will revert until all AMMs are ready to be updated.
Proof of Concept
Mitigation
You shouldn't revert at the place mentioned in the links to affected code. Just return so that the other AMMs can still get updated.
The text was updated successfully, but these errors were encountered: