diff options
author | chriseth <chris@ethereum.org> | 2018-09-14 05:38:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 05:38:46 +0800 |
commit | 5cf570e100543415f425de7abb34893a0038ca34 (patch) | |
tree | 14121e9b87c608cbe648d2e2d842d6c5c7afb393 /test/ExecutionFramework.cpp | |
parent | dc62e084cc0070f87c0252c53ea4fbbe35e1eccc (diff) | |
parent | 3e55aa3fa2ce0f7fa0d28fb6de1ef361d500181d (diff) | |
download | dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar.gz dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar.bz2 dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar.lz dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar.xz dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.tar.zst dexon-solidity-5cf570e100543415f425de7abb34893a0038ca34.zip |
Merge pull request #4968 from ethereum/alethUpdateCompatible
Fix tests for newer versions of aleth.
Diffstat (limited to 'test/ExecutionFramework.cpp')
-rw-r--r-- | test/ExecutionFramework.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionFramework.cpp b/test/ExecutionFramework.cpp index ea624735..3922d5e9 100644 --- a/test/ExecutionFramework.cpp +++ b/test/ExecutionFramework.cpp @@ -122,9 +122,9 @@ void ExecutionFramework::sendMessage(bytes const& _data, bool _isCreation, u256 if (!_isCreation) { d.to = dev::toString(m_contractAddress); - BOOST_REQUIRE(m_rpc.eth_getCode(d.to, "latest").size() > 2); + BOOST_REQUIRE(m_rpc.eth_getCode(d.to, "pending").size() > 2); // Use eth_call to get the output - m_output = fromHex(m_rpc.eth_call(d, "latest"), WhenError::Throw); + m_output = fromHex(m_rpc.eth_call(d, "pending"), WhenError::Throw); } string txHash = m_rpc.eth_sendTransaction(d); |