code-423n4 / 2021-10-slingshot-findings

0 stars 0 forks source link

Error messages in `ModuleRegistry.sol` inconsistent to the rest of the project #49

Open code423n4 opened 2 years ago

code423n4 commented 2 years ago

Handle

pmerkleplant

Vulnerability details

While all contracts have error messages like "ContractName: msg" the ModuleRegistry does not follow this pattern.

The suggestion is to be consistent with the error message format.

See for example line 37 in ModuleRegistry.sol and line 50 in Executioner.sol