Omniscia KlimaDAO Audit
Compilation
Compilation
The project utilizes hardhat
as its development pipeline tool, containing an array of scripts coded in JavaScript.
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 between Solidity versions 0.8.4
, 0.7.6
, and 0.7.5
based on the version specified within the hardhat.config.js
file as well as the pragma
statement of the contract being currently compiled.
The project contains discrepancies with regards to the Solidity version used, however, they are located in external dependencies of the project and as such can be safely ignored.
The KlimaDAO team has locked the pragma
statements to 0.7.5
, 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.