-
Notifications
You must be signed in to change notification settings - Fork 1
[LAU-01C] Event Usability Enhancement #8
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
