Make missing settings.optimizer.enabled key in Standard JSON equivalent to setting it to false

This commit is contained in:
Kamil Śliwak
2021-06-15 16:06:22 +02:00
parent 6b446bd46d
commit 59957b18dc
3 changed files with 10 additions and 4 deletions
+4 -1
View File
@@ -246,7 +246,10 @@ Input Description
"remappings": [ ":g=/dir" ],
// Optional: Optimizer settings
"optimizer": {
// disabled by default
// Disabled by default.
// NOTE: enabled=false still leaves some optimizations on. See comments below.
// WARNING: Before version 0.8.6 omitting the 'enabled' key was not equivalent to setting
// it to false and would actually disable all the optimizations.
"enabled": true,
// Optimize for how many times you intend to run the code.
// Lower values will optimize more for initial deployment cost, higher