zeta-chain / protocol-contracts

Protocol contracts implementing the core logic of the protocol, deployed on ZetaChain and on connected chains
MIT License
70 stars 58 forks source link

Semver errors when running `solhint` #163

Open lumtis opened 5 months ago

lumtis commented 5 months ago

There are multiple errors related to used Solidity version when running solhint:

contracts/zevm/Uniswap.sol
  2:1  error    Compiler version 0.5.16 does not satisfy the 0.8.7 semver requirement  

I'm currently in the process of opening a PR for adding solhint in the CI. Currently deactivating the compiler-version config to make the lint pass but we should fix these version errors and update the config to previous configuration:

  "rules": {
    "compiler-version": ["error", "0.8.7"],