diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-11 03:29:57 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-21 02:38:00 +0800 |
commit | b513db74a0bd8d5f3730cb3fec9f5385f5f194f8 (patch) | |
tree | b15ca1913fde04d93068bbe2b9935f06ceb826d2 /libsolidity | |
parent | 77d5148f0d79c57d5d1ad3951f3692c9098cf194 (diff) | |
download | dexon-solidity-b513db74a0bd8d5f3730cb3fec9f5385f5f194f8.tar.gz dexon-solidity-b513db74a0bd8d5f3730cb3fec9f5385f5f194f8.tar.zst dexon-solidity-b513db74a0bd8d5f3730cb3fec9f5385f5f194f8.zip |
Support gas estimates in StandardCompiler
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/interface/StandardCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp index 4bc8f8e1..8fffea8e 100644 --- a/libsolidity/interface/StandardCompiler.cpp +++ b/libsolidity/interface/StandardCompiler.cpp @@ -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); |