diff --git a/foundry.toml b/foundry.toml index 5c9c90f..7670d09 100644 --- a/foundry.toml +++ b/foundry.toml @@ -3,7 +3,7 @@ src = 'src' test = 'test/' out = 'out' libs = ['lib'] -solc_version = "0.8.18" +solc_version = "0.8.25" optimizer = true optimizer_runs = 1_000_000 diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 569d963..99bea95 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; import {BaseGoerliParameters} from "script/utils/parameters/BaseGoerliParameters.sol"; diff --git a/script/utils/parameters/BaseGoerliParameters.sol b/script/utils/parameters/BaseGoerliParameters.sol index cbc632b..fb96ba3 100644 --- a/script/utils/parameters/BaseGoerliParameters.sol +++ b/script/utils/parameters/BaseGoerliParameters.sol @@ -1,4 +1,4 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; contract BaseGoerliParameters {} diff --git a/script/utils/parameters/BaseParameters.sol b/script/utils/parameters/BaseParameters.sol index 9d9674f..2e1f179 100644 --- a/script/utils/parameters/BaseParameters.sol +++ b/script/utils/parameters/BaseParameters.sol @@ -1,4 +1,4 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; contract BaseParameters {} diff --git a/script/utils/parameters/OptimismGoerliParameters.sol b/script/utils/parameters/OptimismGoerliParameters.sol index 19b55e4..04cecd1 100644 --- a/script/utils/parameters/OptimismGoerliParameters.sol +++ b/script/utils/parameters/OptimismGoerliParameters.sol @@ -1,4 +1,4 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; contract OptimismGoerliParameters {} diff --git a/script/utils/parameters/OptimismParameters.sol b/script/utils/parameters/OptimismParameters.sol index 95d39bf..7f54df5 100644 --- a/script/utils/parameters/OptimismParameters.sol +++ b/script/utils/parameters/OptimismParameters.sol @@ -1,4 +1,4 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; contract OptimismParameters {} diff --git a/src/Counter.sol b/src/Counter.sol index c96738b..472a6f9 100644 --- a/src/Counter.sol +++ b/src/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.13; +pragma solidity 0.8.25; /// @title Kwenta Example Contract /// @notice Responsible for counting diff --git a/test/Counter.t.sol b/test/Counter.t.sol index 32eacf8..497d5e6 100644 --- a/test/Counter.t.sol +++ b/test/Counter.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.13; +pragma solidity 0.8.25; import {Bootstrap} from "test/utils/Bootstrap.sol"; diff --git a/test/utils/Bootstrap.sol b/test/utils/Bootstrap.sol index abf4850..e748922 100644 --- a/test/utils/Bootstrap.sol +++ b/test/utils/Bootstrap.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-3.0-or-later -pragma solidity 0.8.18; +pragma solidity 0.8.25; import {console2} from "lib/forge-std/src/console2.sol"; import {