From 97551331c3519b520699900050ce010dec83ab78 Mon Sep 17 00:00:00 2001 From: Ben DiFrancesco Date: Fri, 9 May 2025 15:01:57 -0400 Subject: [PATCH] Bump versions of evm, solc, and forge-std * Bump the EVM target to cancun * Bump the version of solc to 0.8.29 * Bump forge-std to v1.9.7 --- foundry.toml | 4 ++-- lib/forge-std | 2 +- script/Deploy.s.sol | 2 +- src/Counter.sol | 2 +- test/Counter.t.sol | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/foundry.toml b/foundry.toml index 8fe91aa..b72f2ac 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,8 +1,8 @@ [profile.default] - evm_version = "paris" + evm_version = "cancun" optimizer = true optimizer_runs = 10_000_000 - solc_version = "0.8.28" + solc_version = "0.8.29" verbosity = 3 [profile.ci] diff --git a/lib/forge-std b/lib/forge-std index 3b20d60..77041d2 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 3b20d60d14b343ee4f908cb8079495c07f5e8981 +Subproject commit 77041d2ce690e692d6e03cc812b57d1ddaa4d505 diff --git a/script/Deploy.s.sol b/script/Deploy.s.sol index 6cb780f..a8f839c 100644 --- a/script/Deploy.s.sol +++ b/script/Deploy.s.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: UNLICENSED // slither-disable-start reentrancy-benign -pragma solidity 0.8.28; +pragma solidity 0.8.29; import {Script} from "forge-std/Script.sol"; import {Counter} from "src/Counter.sol"; diff --git a/src/Counter.sol b/src/Counter.sol index bc89d21..935ea6a 100644 --- a/src/Counter.sol +++ b/src/Counter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.28; +pragma solidity 0.8.29; contract Counter { uint256 public number; diff --git a/test/Counter.t.sol b/test/Counter.t.sol index d458d80..169c5e1 100644 --- a/test/Counter.t.sol +++ b/test/Counter.t.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity 0.8.28; +pragma solidity 0.8.29; import {Test, console2} from "forge-std/Test.sol"; import {Deploy} from "script/Deploy.s.sol";