aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-11 03:29:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-04-21 02:38:00 +0800
commitb513db74a0bd8d5f3730cb3fec9f5385f5f194f8 (patch)
treeb15ca1913fde04d93068bbe2b9935f06ceb826d2 /libsolidity
parent77d5148f0d79c57d5d1ad3951f3692c9098cf194 (diff)
downloaddexon-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.cpp2
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);