Omniscia Qanx Token Audit
Context Static Analysis Findings
Context Static Analysis Findings
CTX-01S: Unused Code
Type | Severity | Location |
---|---|---|
Gas Optimization | Context.sol:L19-L21 |
Description:
The referenced function remains unutilized in the codebase.
Example:
contracts/Context.sol
14abstract contract Context {15 function _msgSender() internal view virtual returns (address) {16 return msg.sender;17 }18
19 function _msgData() internal view virtual returns (bytes calldata) {20 return msg.data;21 }22}
Recommendation:
We advise it to be safely omitted from it, optimizing its deployment cost.
Alleviation:
The Qanx team stated that they wish to retain the current implementation in the codebase to maintain a one-to-one relation with the original code of OpenZeppelin and to avoid touching sensitive dependencies. As the hash of the file will change if the code is removed and Qanx wishes to retain its dependencies intact, we consider this exhibit nullified.