Skip to content

Commit

Permalink
chore: disable optimiztions for the spell
Browse files Browse the repository at this point in the history
  • Loading branch information
amusingaxl committed Aug 2, 2023
1 parent 0d3aa91 commit 62c95a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all :; DAPP_LIBRARIES=' lib/dss-exec-lib/src/DssExecLib.sol:DssExecLib:$(shell cat DssExecLib.address)' \
DAPP_BUILD_OPTIMIZE=1 DAPP_BUILD_OPTIMIZE_RUNS=200 \
DAPP_BUILD_OPTIMIZE=0 DAPP_BUILD_OPTIMIZE_RUNS=200 \
dapp --use solc:0.8.16 build
clean :; forge clean
# Usage example: make test match=SpellIsCast
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-dssspell-forge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ done
DSS_EXEC_LIB=$(< DssExecLib.address)
echo "Using DssExecLib at: $DSS_EXEC_LIB"
export FOUNDRY_LIBRARIES="lib/dss-exec-lib/src/DssExecLib.sol:DssExecLib:$DSS_EXEC_LIB"
export FOUNDRY_OPTIMIZER=true
export FOUNDRY_OPTIMIZER=false
export FOUNDRY_OPTIMIZER_RUNS=200
export FOUNDRY_ROOT_CHAINID=1

Expand Down

0 comments on commit 62c95a2

Please sign in to comment.