From 448198cf80f588fe4d5205ecc851a4c0d67356bd Mon Sep 17 00:00:00 2001 From: mgretzke Date: Thu, 10 Jul 2025 14:02:13 +0200 Subject: [PATCH] disabled optimizer for test contracts --- docs/autogen/book.toml | 1 + foundry.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/autogen/book.toml b/docs/autogen/book.toml index 9ef6709..6654d46 100644 --- a/docs/autogen/book.toml +++ b/docs/autogen/book.toml @@ -6,6 +6,7 @@ title = "" no-section-label = true additional-js = ["solidity.min.js"] additional-css = ["book.css"] +mathjax-support = true git-repository-url = "https://github.com/Uniswap/foundry-template" [output.html.fold] diff --git a/foundry.toml b/foundry.toml index 391d308..fa37e97 100644 --- a/foundry.toml +++ b/foundry.toml @@ -20,11 +20,11 @@ remappings = [ ] additional_compiler_profiles = [ - { name = "test", via_ir = false } + { name = "test", via_ir = false, optimizer = false } ] compilation_restrictions = [ - { paths = "test/**", via_ir = false } + { paths = "test/**", via_ir = false, optimizer = false } ] [profile.default.fuzz]