From cdb9c5120af9436646647276d4fc29e2e471041d Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Fri, 22 Dec 2023 10:05:06 -0300 Subject: [PATCH] fix: remove compiler version 0.5.16 --- .solhint.json | 2 +- hardhat.config.ts | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.solhint.json b/.solhint.json index d7296424..89199b96 100644 --- a/.solhint.json +++ b/.solhint.json @@ -2,7 +2,7 @@ "extends": "solhint:recommended", "rules": { "code-complexity": ["error", 8], - "compiler-version": ["error", ">=0.5.0"], + "compiler-version": ["error", ">=0.8.0"], "const-name-snakecase": "off", "constructor-syntax": "error", "func-visibility": ["error", { "ignoreConstructors": true }], diff --git a/hardhat.config.ts b/hardhat.config.ts index f0d3a602..432c61e8 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -74,20 +74,6 @@ const config: HardhatUserConfig = { defaultNetwork: "hardhat", solidity: { compilers: [ - { - version: "0.5.16", - settings: { - optimizer: { - enabled: true, - runs: 200, - }, - outputSelection: { - "*": { - "*": ["storageLayout"], - }, - }, - }, - }, { version: "0.8.13", settings: {