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
SameAssetUnderlyingsAbstractVault.removeVault currently calls SingleSlotMapper.removeValue with the removedValue parameter being the index of the _activeUnderlyingVaults array.
It would be more gas efficient if SameAssetUnderlyingsAbstractVault.removeVault called a new SingleSlotMapper.removeIndex function padding in the vaultIndex that is passed to the SameAssetUnderlyingsAbstractVault.removeVault function.
The text was updated successfully, but these errors were encountered:
SameAssetUnderlyingsAbstractVault.removeVault
currently callsSingleSlotMapper.removeValue
with theremovedValue
parameter being the index of the_activeUnderlyingVaults
array.It would be more gas efficient if
SameAssetUnderlyingsAbstractVault.removeVault
called a newSingleSlotMapper.removeIndex
function padding in thevaultIndex
that is passed to theSameAssetUnderlyingsAbstractVault.removeVault
function.The text was updated successfully, but these errors were encountered: