Merge pull request #14086 from ethereum/gnosis-ext-workaround

Skip via-ir with yul optimizer for Gnosis external tests
This commit is contained in:
Kamil Śliwak 2023-04-06 15:52:15 +02:00 committed by GitHub
commit a902c09cb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,8 @@ function gnosis_safe_test
"${compile_only_presets[@]}"
#ir-no-optimize # Compilation fails with "YulException: Variable var_call_430_mpos is 1 slot(s) too deep inside the stack."
#ir-optimize-evm-only # Compilation fails with "YulException: Variable var_call_430_mpos is 1 slot(s) too deep inside the stack."
ir-optimize-evm+yul
# TODO: Uncomment the preset below when the issue: https://github.com/safe-global/safe-contracts/issues/544 is solved.
#ir-optimize-evm+yul # Compilation fails with "YulException: Cannot swap Variable var_operation with Variable _1: too deep in the stack by 4 slots."
legacy-no-optimize
legacy-optimize-evm-only
legacy-optimize-evm+yul