From bb592ccb89433c4fec4f6bd24b436f1a09920a3d Mon Sep 17 00:00:00 2001 From: karmacoma Date: Wed, 22 May 2024 11:17:23 -0700 Subject: [PATCH] pin solc to 0.8.25 to avoid stack too deep errors --- foundry.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/foundry.toml b/foundry.toml index 0850639..b1e26bb 100644 --- a/foundry.toml +++ b/foundry.toml @@ -4,4 +4,7 @@ out = 'out' libs = ['lib'] via_ir = true -# See more config options https://github.com/foundry-rs/foundry/tree/master/config \ No newline at end of file +# workaround for stack too deep errors with 0.8.26 https://github.com/ethereum/solidity/issues/14358 +solc = "0.8.25" + +# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options