optimize option added

pull/741/head
aniket-engg 4 years ago
parent cf0e2201e3
commit 8d59edf1d5
  1. 6
      libs/remix-tests/src/run.ts

@ -88,19 +88,19 @@ commander
log.error(`No compiler found in releases with version ${compVersion}`)
process.exit()
} else {
log.info(`Compiler version set to ${compVersion}. Latest version is ${latestRelease}`)
compilerConfig.currentCompilerUrl = compString.replace('soljson-', '').replace('.js', '')
log.info(`Compiler version set to ${compVersion}. Latest version is ${latestRelease}`)
}
}
if (commander.evm) {
compilerConfig.evmVersion = commander.evm
log.info('EVM set to ' + compilerConfig.evmVersion)
log.info(`EVM set to ${compilerConfig.evmVersion}`)
}
if (commander.optimize) {
compilerConfig.optimize = commander.optimize
log.info('compiler optimization set to ' + compilerConfig.optimize)
log.info(`Optimization is ${compilerConfig.optimize ? 'enabled' : 'disabled'}`)
}
const web3 = new Web3()

Loading…
Cancel
Save