Omniscia SaucerSwap Labs Audit

HederaTokenService Code Style Findings

HederaTokenService Code Style Findings

HTS-01C: Inexistent Error Messages

TypeSeverityLocation
Code StyleHederaTokenService.sol:L27, L34

Description:

The linked require checks have no error messages explicitly defined.

Example:

contracts/hedera/HederaTokenService.sol
27require(success);

Recommendation:

We advise each to be set so to increase the legibility of the codebase and aid in validating the require checks' conditions.

Alleviation (a2c5a0b913a7ddc21ff96f97fa51f2820a5da7ec):

Explicit error messages were introduced for both referenced variables, addressing this exhibit.