Skip to content

Commit

Permalink
refactor: set pragma to ">=0.8.4" in interfaces
Browse files Browse the repository at this point in the history
chore: define "script" in Foundry config
  • Loading branch information
PaulRBerg committed Feb 24, 2023
1 parent 4540c63 commit 46a34c5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"avoid-low-level-calls": "off",
"avoid-tx-origin": "off",
"code-complexity": ["error", 8],
"compiler-version": ["error", ">=0.8.18"],
"compiler-version": ["error", ">=0.8.4"],
"const-name-snakecase": "off",
"constructor-syntax": "error",
"contract-name-camelcase": "off",
Expand Down
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
optimizer = true
optimizer_runs = 10_000
out = "out"
script = "script"
solc = "0.8.19"
src = "src"
src = "interfaces"
test = "test"

[profile.default.fuzz]
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPRBProxy.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.18;
pragma solidity >=0.8.4;

import { IPRBProxyPlugin } from "./IPRBProxyPlugin.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPRBProxyFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.18;
pragma solidity >=0.8.4;

import { IPRBProxy } from "./IPRBProxy.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPRBProxyHelpers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.18;
pragma solidity >=0.8.4;

import { IPRBProxyPlugin } from "./IPRBProxyPlugin.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPRBProxyPlugin.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.18;
pragma solidity >=0.8.4;

/// @title IPRBProxyPlugin
/// @notice Interface for the plugins that can be installed on a proxy.
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IPRBProxyRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.18;
pragma solidity >=0.8.4;

import { IPRBProxy } from "./IPRBProxy.sol";
import { IPRBProxyFactory } from "./IPRBProxyFactory.sol";
Expand Down

0 comments on commit 46a34c5

Please sign in to comment.