diff options
author | chriseth <c@ethdev.com> | 2015-06-15 18:10:41 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-06-16 01:47:44 +0800 |
commit | e7906ba1beecf9fd04d9e3476da7a66d61714629 (patch) | |
tree | caeeade082bc2fb1ca7985c44ad1caae97d80b93 /libsolidity/solidityExecutionFramework.h | |
parent | fd745418438f24991eed33a96da6724feb22b824 (diff) | |
download | dexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.tar.gz dexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.tar.zst dexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.zip |
Copying between memory and memory.
Also fixed some encoding and padding issues with older copying code.
Diffstat (limited to 'libsolidity/solidityExecutionFramework.h')
-rw-r--r-- | libsolidity/solidityExecutionFramework.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/solidityExecutionFramework.h b/libsolidity/solidityExecutionFramework.h index 44590b1c..4ba22981 100644 --- a/libsolidity/solidityExecutionFramework.h +++ b/libsolidity/solidityExecutionFramework.h @@ -174,11 +174,11 @@ protected: BOOST_REQUIRE(m_state.addressHasCode(m_contractAddress)); BOOST_REQUIRE(!executive.call(m_contractAddress, m_sender, _value, m_gasPrice, &_data, m_gas)); } - BOOST_REQUIRE(executive.go()); + BOOST_REQUIRE(executive.go(/* DEBUG eth::Executive::simpleTrace() */)); m_state.noteSending(m_sender); executive.finalize(); - m_gasUsed = executive.gasUsed(); - m_output = std::move(res.output); // FIXME: Looks like Framework needs ExecutiveResult embedded + m_gasUsed = res.gasUsed; + m_output = std::move(res.output); m_logs = executive.logs(); } |