Merge pull request #927 from ethereum/jsonio-fix

jsonio: both libraries and outputSelection is part of settings
pull/1/head
yann300 7 years ago committed by GitHub
commit 79021679a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      src/app/compiler/compiler-input.js

@ -8,13 +8,13 @@ module.exports = (sources, opts) => {
optimizer: { optimizer: {
enabled: opts.optimize === true, enabled: opts.optimize === true,
runs: 500 runs: 500
} },
}, libraries: opts.libraries,
libraries: opts.libraries, outputSelection: {
outputSelection: { '*': {
'*': { '': [ 'legacyAST' ],
'': [ 'legacyAST' ], '*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ]
'*': [ 'abi', 'metadata', 'evm.legacyAssembly', 'evm.bytecode', 'evm.deployedBytecode', 'evm.methodIdentifiers', 'evm.gasEstimates' ] }
} }
} }
}) })

Loading…
Cancel
Save