elementfi: Switch all presets to compile-only

This commit is contained in:
Kamil Śliwak 2022-04-01 22:53:59 +02:00
parent 5ef0048d85
commit 73443c0ada

View File

@ -42,9 +42,9 @@ function elementfi_test
local config_file="hardhat.config.ts"
local config_var=config
local compile_only_presets=()
local settings_presets=(
"${compile_only_presets[@]}"
local compile_only_presets=(
# ElementFi's test suite is hard-coded for mainnet forked via alchemy.io.
# Locally we can only compile.
#ir-no-optimize # Compilation fails with "YulException: Variable var_amount_9311 is 10 slot(s) too deep inside the stack."
#ir-optimize-evm-only # Compilation fails with "YulException: Variable var_amount_9311 is 10 slot(s) too deep inside the stack."
ir-optimize-evm+yul
@ -52,6 +52,9 @@ function elementfi_test
legacy-optimize-evm-only
legacy-optimize-evm+yul
)
local settings_presets=(
"${compile_only_presets[@]}"
)
[[ $SELECTED_PRESETS != "" ]] || SELECTED_PRESETS=$(circleci_select_steps_multiarg "${settings_presets[@]}")
print_presets_or_exit "$SELECTED_PRESETS"