Skip to content

[LAU-01C] Event Usability Enhancement #8

@dkuppitz

Description

@dkuppitz

LAU-01C: Event Usability Enhancement

Type Severity Location
Code Style LzAppUpgradeable.sol:L45-L47

Description:

The referenced events do not contain any indexed arguments declared.

Example:

event SetTrustedRemote(uint16 _remoteChainId, bytes _path);
event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress);
event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint256 _minDstGas);

Recommendation:

We advise the indexed keyword to be introduced to the _remoteChainId and _dstChainId variables, optimizing off-chain filters of these events in relation to their chain ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions