Omniscia WallFair Audit
Compilation
Compilation
The project utilizes hardhat
as its development pipeline tool, containing an array of tests and scripts coded in JavaScript.
To compile the project, the compile
command needs to be issued via the hardhat
CLI tool invoked via npm
:
npm hardhat compile
The hardhat
tool automatically selects Solidity version 0.8.7
as specified within the hardhat.config.js
file.
The project contains discrepancies with regards to the Solidity version used containing open-ended declarations (^0.8.7
) rather than locked ones (=0.8.7
). We advise the WallFair team to lock the pragma
statements to 0.8.7
, 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 of the project.
An additional configuration for live deployments exists labelled as hardhat-deploy.config.js
that allows deployment of the contract system to one of the live chains.