Skip to content

[LAU-03C] Repetitive Value Literal #10

Description

@dkuppitz

LAU-03C: Repetitive Value Literal

Type Severity Location
Code Style LzAppUpgradeable.sol:L265, L268

Description:

The linked value literal is repeated across the codebase multiple times.

Example:

require(_adapterParams.length >= 34, "LzApp: invalid adapterParams");

Recommendation:

We advise it to be set to a constant variable instead optimizing the legibility of the codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions