Merge pull request #927 from ethereum/jsonio-fix

jsonio: both libraries and outputSelection is part of settings
pull/3094/head
yann300 7 years ago committed by GitHub
commit 0410078212
  1. 14
      src/app/compiler/compiler-input.js

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

Loading…
Cancel
Save