Take into account optimization level when creating initial Truffle settings for external tests

This commit is contained in:
Kamil Śliwak 2020-12-07 20:11:36 +01:00
parent c6643712f7
commit 5868eb7879

View File

@ -139,7 +139,7 @@ function force_solc
printLog "Forcing solc version..."
cat >> "$config_file" <<EOF
module.exports['compilers'] = {solc: {version: "$dir/solc"} };
module.exports['compilers'] = {solc: {version: "$dir/solc", settings: $(solc_settings "$OPTIMIZER_LEVEL" istanbul)}};
EOF
}