Omniscia Native Audit
BytesLib Code Style Findings
BytesLib Code Style Findings
BLB-01C: Outdated Implementation
| Type | Severity | Location |
|---|---|---|
| Gas Optimization | ![]() | BytesLib.sol:L9 |
Description:
The BytesLib implementation present in the codebase represents an outdated version with a legacy pragma version of the original codebase by Gonçalo Sá.
Example:
contracts/libraries/BytesLib.sol
9pragma solidity >=0.5.0;Recommendation:
We advise the latest version's changes to be merged to the implementation of Native to ensure that the code conforms to the latest standards and is gas-optimal.
Alleviation:
The changes present in the latest version of BytesLib::slice in the referenced repository have not been merged with the code of the local BytesLib instance rendering this exhibit unaddressed.
