Omniscia Nexera Protocol Audit
Compilation
Compilation
The project utilizes hardhat
as its development pipeline tool, containing an array of tests and scripts coded in TypeScript.
To compile the project, the compile
command needs to be issued via the npx
CLI tool to hardhat
:
npx hardhat compile
The hardhat
tool automatically selects Solidity version 0.8.18
based on the version specified within the hardhat.config.ts
file.
The project contains discrepancies with regards to the Solidity version used, however, they are solely located in dependencies and can thus be safely ignored.
The pragma
statements have been locked to 0.8.18
(=0.8.18
), the same version utilized for our static analysis as well as optimizational review of the codebase.
During compilation with the hardhat
pipeline, no errors were identified that relate to the syntax or bytecode size of the contracts.
We would like to note that the present system implements a library meant to be utilized by external modules.
As such, it may make sense to unlock the compiler version above the presently-utilized 0.8.18
version to ensure external projects can efficiently integrate this system.