From 159e76969f246a8ed0c22b33e4a52e0fb419ee24 Mon Sep 17 00:00:00 2001 From: saucepoint Date: Wed, 14 Feb 2024 14:46:35 -0500 Subject: [PATCH] pin 0.8.24 --- contracts/BaseHook.sol | 2 +- foundry.toml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/contracts/BaseHook.sol b/contracts/BaseHook.sol index 4da805d8..16fdf684 100644 --- a/contracts/BaseHook.sol +++ b/contracts/BaseHook.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.19; +pragma solidity ^0.8.24; import {Hooks} from "@uniswap/v4-core/src/libraries/Hooks.sol"; import {IPoolManager} from "@uniswap/v4-core/src/interfaces/IPoolManager.sol"; diff --git a/foundry.toml b/foundry.toml index 620d06a6..8660f25d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -1,15 +1,14 @@ [profile.default] src = 'contracts' out = 'foundry-out' -solc_version = '0.8.20' +solc_version = '0.8.24' via_ir = true -optimizer_runs = 1000000 +optimizer_runs = 999999 ffi = true fs_permissions = [{ access = "read-write", path = ".forge-snapshots/"}] -cancun = true +evm_version = "cancun" [profile.ci] fuzz_runs = 100000 -solc = "./lib/v4-core/bin/solc-static-linux" # See more config options https://github.com/foundry-rs/foundry/tree/master/config