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

Shorter revert messages

Closed this issue · 1 comments

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".

Duplicated : #14