From 58020fc2331bd73142597aed76ee2a71b10bf4b4 Mon Sep 17 00:00:00 2001 From: miyachen Date: Mon, 12 Aug 2024 11:56:59 +0800 Subject: [PATCH] add comments for foundry config --- foundry.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/foundry.toml b/foundry.toml index cf00fc89..3bb49a54 100644 --- a/foundry.toml +++ b/foundry.toml @@ -6,7 +6,12 @@ test = 'test/foundry' cache_path = 'forge-cache' no_match_path = 'contracts/test/*' fs_permissions = [{ access = "read", path = "./out"}] + +# It's to solve vm.getCode is failed due to "No matching artifact found" error. +# https://github.com/foundry-rs/foundry/issues/7569#issuecomment-2040694197 unchecked_cheatcode_artifacts = true + +# In some foundry tests are failed due to outOfGas. gas_limit = "18446744073709551615" # See more config options https://github.com/foundry-rs/foundry/tree/master/config