code-423n4 / 2021-10-union-findings

0 stars 0 forks source link

Lock pragma compiler version #15

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

loop

Vulnerability details

Pragma version for most contracts is ^0.8.4. Keep the pragma compiler version locked to a specific version as a best practice. Preferably the one everything has been tested most with.

See also: https://consensys.github.io/smart-contract-best-practices/recommendations/#lock-pragmas-to-specific-compiler-version

GalloDaSballo commented 3 years ago

Disagree with this as the codebase has a fixed compiler in hardhat.config.js