Omniscia Faith Tribe Audit
NativeMetaTransaction Static Analysis Findings
NativeMetaTransaction Static Analysis Findings
NMT-01S: Inexistent Visibility Specifier
| Type | Severity | Location |
|---|---|---|
| Code Style | Informational | NativeMetaTransaction.sol:L19 |
Description:
The linked variable has no visibility specifier.
Example:
contracts/external/common/NativeMetaTransaction.sol
19mapping(address => uint256) nonces;Recommendation:
We advise one to be set so to avoid potential compilation discrepancies in the future as the current behaviour is for the compiler to assign one automatically which can change between pragma versions.
Alleviation:
The private visibility specifier was introduced for the linked variable.