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

1 stars 1 forks source link

Shorter revert messages #209

Closed code423n4 closed 2 years ago

code423n4 commented 2 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 many long revert messages across contracts, e.g.: "NestedRecords::increaseLockTimestamp: Can't decrease timestamp".

maximebrugel commented 2 years ago

Duplicated : #14