Support gas estimates in StandardCompiler

This commit is contained in:
Alex Beregszaszi 2017-04-10 20:29:57 +01:00
parent 77d5148f0d
commit b513db74a0

View File

@ -308,7 +308,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
evmData["assembly"] = tmp.str();
evmData["legacyAssembly"] = m_compilerStack.streamAssembly(tmp, contractName, createSourceList(_input), true);
evmData["methodIdentifiers"] = methodIdentifiers(m_compilerStack.contractDefinition(contractName));
// @TODO: add gasEstimates
evmData["gasEstimates"] = m_compilerStack.gasEstimates(contractName);
// EVM bytecode
Json::Value bytecode(Json::objectValue);