Omniscia Alliance Block 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 npx:

npx hardhat compile

The hardhat tool automatically selects Solidity version 0.7.6 based on the version specified within the hardhat.config.ts file.

The project contains discrepancies with regards to the Solidity version used, namely it contains open-ended version specifications (^0.7.6) rather than explicit ones (0.7.6 or =0.7.6). We advise the Alliance Block team to lock the pragma statements to 0.7.6, the same version utilized for our 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.