mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Take into account optimization level when creating initial Truffle settings for external tests
This commit is contained in:
parent
c6643712f7
commit
5868eb7879
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user