Skip to content

Commit

Permalink
feat(evm): VIA_IR is better with OPTIMIZER = false
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Jan 9, 2024
1 parent bb1c0cd commit 9d91f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm/evm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
hash = "sha256-9D9Mxuk/5bzX3tZjRAnWk7LP/GMOe0NRsrMuvOfKy78=";
};
foundryEnv = {
FOUNDRY_OPTIMIZER = "true";
FOUNDRY_OPTIMIZER = "false";
FOUNDRY_VIA_IR = "true";
FOUNDRY_OPTIMIZER_RUNS = "10000";
FOUNDRY_OPTIMIZER_RUNS = "0";
FOUNDRY_SRC = "${evmSources}/contracts";
FOUNDRY_TEST = "${evmSources}/tests/src";
FOUNDRY_LIBS = ''["${libraries}"]'';
Expand Down

0 comments on commit 9d91f18

Please sign in to comment.