aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerUtils.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-06-23 02:50:29 +0800
committerchriseth <c@ethdev.com>2015-06-23 02:55:46 +0800
commitfd1a01bbce5b5b6491e05b87fb183a55e9804f4e (patch)
tree52ff5eea7bb2b3d4579fc64f84413130c863aa47 /CompilerUtils.cpp
parent8639cf8e3df10bedf8ce808aa7146ac88624df44 (diff)
downloaddexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar.gz
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar.bz2
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar.lz
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar.xz
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.tar.zst
dexon-solidity-fd1a01bbce5b5b6491e05b87fb183a55e9804f4e.zip
Decoding for constructor.
Diffstat (limited to 'CompilerUtils.cpp')
-rw-r--r--CompilerUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerUtils.cpp b/CompilerUtils.cpp
index 4d57dc92..5bd6de13 100644
--- a/CompilerUtils.cpp
+++ b/CompilerUtils.cpp
@@ -135,7 +135,7 @@ void CompilerUtils::storeInMemoryDynamic(Type const& _type, bool _padToWordBound
m_context << u256(0) << u256(identityContractAddress);
//@TODO do not use ::CALL if less than 32 bytes?
//@todo in production, we should not have to pair c_callNewAccountGas.
- m_context << u256(eth::c_callGas + 10 + eth::c_callNewAccountGas) << eth::Instruction::GAS;
+ m_context << u256(eth::c_callGas + 15 + eth::c_callNewAccountGas) << eth::Instruction::GAS;
m_context << eth::Instruction::SUB << eth::Instruction::CALL;
m_context << eth::Instruction::POP; // ignore return value