code-423n4 / 2021-09-bvecvx-findings

0 stars 0 forks source link

Make variable veCVXStrategy::MAX_BPS constant #13

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

pmerkleplant

Vulnerability details

Impact

Variable MAX_BPS in the veCVXStrategy is never reset after initialization. Declaring it as a constant saves gas.

Tools Used

slither

GalloDaSballo commented 3 years ago

Agreed