Closed github-actions[bot] closed 1 year ago
zaevlad
informational
No need to declare default values in variables.
No need to set uint variable to 0, its default value is 0.
Addiditonal cost in contract deployment.
https://github.com/sherlock-audit/2023-01-uxd/blob/main/contracts/external/layer-zero/token/oft/OFTCore.sol#L15
Manual Review
Keep it simple and remove "=0".
zaevlad
informational
No need to declare default values in variables
Summary
No need to declare default values in variables.
Vulnerability Detail
No need to set uint variable to 0, its default value is 0.
Impact
Addiditonal cost in contract deployment.
Code Snippet
https://github.com/sherlock-audit/2023-01-uxd/blob/main/contracts/external/layer-zero/token/oft/OFTCore.sol#L15
Tool used
Manual Review
Recommendation
Keep it simple and remove "=0".