diff --git a/packages/evm/.gitignore b/packages/evm/.gitignore index bcbfbbf2..f8bc7749 100644 --- a/packages/evm/.gitignore +++ b/packages/evm/.gitignore @@ -1 +1,3 @@ -types/ \ No newline at end of file +types/ +out/ +cache_forge/ \ No newline at end of file diff --git a/packages/evm/foundry.toml b/packages/evm/foundry.toml index 4f3bf9f3..c1eefa37 100644 --- a/packages/evm/foundry.toml +++ b/packages/evm/foundry.toml @@ -1,6 +1,9 @@ [profile.default] src = 'contracts' out = 'out' -libs = ['node_modules', 'lib'] +libs = ['../../node_modules', 'lib'] test = 'test' -cache_path = 'cache_forge' \ No newline at end of file +cache_path = 'cache_forge' +via_ir = true +optimizer = true +optimizer_runs = 10_000 \ No newline at end of file