File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ BINARY_PATH="$2"
32
32
SELECTED_PRESETS=" $3 "
33
33
34
34
function compile_fn { npm run compile; }
35
- function test_fn { npx --no hardhat --no-compile test ; }
35
+ function test_fn {
36
+ # The default timeout of 20000 ms is too short for unoptimized code (https://github.com/ethereum/solidity/pull/12765).
37
+ TEST_TIMEOUT=100000 npx --no hardhat --no-compile test
38
+ }
36
39
37
40
function euler_test
38
41
{
@@ -63,8 +66,6 @@ function euler_test
63
66
force_hardhat_compiler_binary " $config_file " " $BINARY_TYPE " " $BINARY_PATH "
64
67
force_hardhat_compiler_settings " $config_file " " $( first_word " $SELECTED_PRESETS " ) "
65
68
force_hardhat_unlimited_contract_size " $config_file "
66
- # Workaround for the timeout that's too short for unoptimized code (https://github.com/ethereum/solidity/pull/12765)
67
- force_hardhat_timeout " $config_file " " " 100000
68
69
npm install
69
70
70
71
replace_version_pragmas
You can’t perform that action at this time.
0 commit comments