The functionupgradeVaultsin VaultControllerStrategy.sol upgrade all vaults regardless if the vault has been removed or not causing waste of gas as it is unnecessary to upgrade removed vaults.
The function upgradeVaultsin VaultControllerStrategy.sol upgrade all vaults regardless if the vault has been removed or not.
upgradeVaultsfunction uses more gas to execute the function which could be saved if only the function skip removed vaults.
Manual review
Skip removed vaults in upgradeVaultsfunction.
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.