From f556e435effb61a04a3cf06bd8a1c70bae175ead Mon Sep 17 00:00:00 2001 From: alex0207s Date: Mon, 11 Mar 2024 19:33:10 +0800 Subject: [PATCH] activate isolate mode to calculate gas usage correctly --- foundry.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/foundry.toml b/foundry.toml index ccab1127..8432def2 100644 --- a/foundry.toml +++ b/foundry.toml @@ -6,6 +6,7 @@ solc_version = "0.8.17" optimizer = true # enable or disable the solc optimizer optimizer_runs = 1000 # the number of optimizer runs verbosity = 3 # The verbosity of tests +isolate = true # enable or disable the isolate mode for calculating gas usage correctly fs_permissions = [ { access = "read", path = "./test/utils/config/" }, { access = "read", path = "./test/utils/payload/" },