refactor: change pragma to ">=0.8.18"

This commit is contained in:
Paul Razvan Berg 2023-02-05 13:06:26 +02:00
parent 94d778dafb
commit a3a2d3d951
No known key found for this signature in database
GPG Key ID: BCC366159BD63828
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"extends": "solhint:recommended",
"rules": {
"code-complexity": ["error", 8],
"compiler-version": ["error", ">=0.8.4"],
"compiler-version": ["error", ">=0.8.18"],
"func-name-mixedcase": "off",
"func-visibility": ["error", { "ignoreConstructors": true }],
"max-line-length": ["error", 120],

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4;
pragma solidity >=0.8.18;
import { Script } from "forge-std/Script.sol";
import { Foo } from "../src/Foo.sol";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4;
pragma solidity >=0.8.18;
contract Foo {
// solhint-disable-previous-line no-empty-blocks

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.4;
pragma solidity >=0.8.18;
import { PRBTest } from "@prb/test/PRBTest.sol";
import { console2 } from "forge-std/console2.sol";