Skip to content

Commit

Permalink
bump solidity version
Browse files Browse the repository at this point in the history
  • Loading branch information
gretzke committed Dec 3, 2023
1 parent 0b5490d commit 61bc3a7
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
6 changes: 1 addition & 5 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ libs = ["lib"]
optimizer = true
optimizer_runs = 999999
via_ir = true
solc = "0.8.22"
solc = "0.8.23"
verbosity = 2
ffi = true
fs_permissions = [
{ access = "read", path = "scripts/config.json" },
{ access = "read", path = "script/1.0.0/input.json" }
]

remappings = [
"forge-std=lib/forge-std/src",
Expand Down
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import "forge-std/Script.sol";
import "script/util/ScriptHelpers.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/util/ScriptHelpers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import "forge-std/Script.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/Counter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {ICounter, IVersioned} from "./interface/ICounter.sol";
import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/interface/ICounter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

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

Expand Down
2 changes: 1 addition & 1 deletion src/interface/IVersioned.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

interface IVersioned {
/// @return The version of the contract
Expand Down
2 changes: 1 addition & 1 deletion test/Counter.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import "forge-std/Test.sol";
import "test/util/TestHelpers.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/util/TestHelpers.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import "forge-std/Test.sol";

Expand Down

0 comments on commit 61bc3a7

Please sign in to comment.