Open code423n4 opened 2 years ago
i++
use ++i
2.Remove unused state variable in following line. https://github.com/code-423n4/2022-07-axelar/blob/9c4c44b94cddbd48b9baae30051a4e13cbe39539/contracts/auth/AxelarAuthWeighted.sol#L10
this variable is not used . uint256 public currentEpoch;
uint256 public currentEpoch;
5 gas saved
Will penalize this report vs others that list all instances and "at least tried"
i++
)use ++i
2.Remove unused state variable in following line. https://github.com/code-423n4/2022-07-axelar/blob/9c4c44b94cddbd48b9baae30051a4e13cbe39539/contracts/auth/AxelarAuthWeighted.sol#L10
this variable is not used .
uint256 public currentEpoch;