code-423n4 / 2021-11-vader-findings

0 stars 0 forks source link

Shorter revert messages #246

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

Shortening revert strings to fit in 32 bytes will decrease deployment time gas and will decrease runtime gas when the revert condition has been met. There are some pretty long revert msgs, e.g.: "VaderPoolFactory::initialize: Incorrect Arguments". Consider shortening them.

SamSteinGG commented 3 years ago

Duplicate of #104