Omniscia Sovryn 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 hardhat
CLI tool invoked via yarn
:
yarn hardhat compile --force
The hardhat
tool automatically selects Solidity version 0.5.16
as specified within the hardhat.config.ts
file.
The project contains discrepancies with regards to the Solidity version used only within its dependencies which can be safely ignored. The Sovryn team has locked the pragma
statements to 0.5.16
, 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.
We should note that we advise the version of the system to be upgraded given that 0.5.16
is an outdated compiler and contains compiler bugs that have been fixed in the latest Solidity versions.