code-423n4 / 2022-02-tribe-turbo-findings

1 stars 0 forks source link

Gas Optimizations #70

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

G-01 :

uint256 better than bool TurboMaster.sol L#184 TurboBooster.sol L#28

G-02:

bytes32 instead of string TurboRouter.sol L#33

G-03:

instead of using operator && on single require check. using double require check can save more gas: TurboSafe.sol L#122;L#312 TurboBooster.sol L#109 TurboSavior.sol L#129 https://github.com/code-423n4/2022-01-xdefi-findings/issues/128

GalloDaSballo commented 2 years ago

I think the wardens finding have legitimacy and they could have won something had they actually spent a couple minutes to write coherent sentences

Because of the absolute lack of effort, am giving this 0/10