totalAssetsShares::BriVault is unused, hence increasing gas fee.totalAssetsShares::BriVault is not used anywhere in the whole contract, which means there is no use of keeping this variable.
This extra public state variable is incresing the gas fee, hence is not optimized.
Likelihood: Low
Impact: Low/Gas
It is simply recommended to remove the variable directly from the contract as it is not used anywhere in the contract.
Gas optimizations are invalid according to the CodeHawks documentation.
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.