From 3436ce6902d2f0780a81f3343d7b74673b7031ce Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Wed, 6 Mar 2024 21:23:58 +0100 Subject: [PATCH] feat: upgrade to 0.8.24 --- foundry.toml | 2 +- script/Counter.s.sol | 2 +- src/Counter.sol | 2 +- test/Counter.t.sol | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/foundry.toml b/foundry.toml index b1e34f8..0584d8f 100644 --- a/foundry.toml +++ b/foundry.toml @@ -21,7 +21,7 @@ btp = "${BTP_RPC_URL}" test = "test" out = "out" libs = ["lib"] - solc = "0.8.19" + solc = "0.8.24" optimizer = true optimizer_runs = 10_000 gas_reports = ["*"] diff --git a/script/Counter.s.sol b/script/Counter.s.sol index af43591..0c646b9 100644 --- a/script/Counter.s.sol +++ b/script/Counter.s.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity 0.8.24; import {Script, console} from "forge-std/Script.sol"; import "../src/Counter.sol"; diff --git a/src/Counter.sol b/src/Counter.sol index f0e44a0..fbd0176 100644 --- a/src/Counter.sol +++ b/src/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity 0.8.24; contract Counter { uint256 public number; diff --git a/test/Counter.t.sol b/test/Counter.t.sol index b55ec1f..924f97b 100644 --- a/test/Counter.t.sol +++ b/test/Counter.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.19; +pragma solidity 0.8.24; import {Test, console} from "forge-std/Test.sol"; import {Counter} from "../src/Counter.sol";