aboutsummaryrefslogtreecommitdiffstats
path: root/createRandomStateTest.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-04-02 17:06:56 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-04-02 17:06:56 +0800
commit125ca1d2702da04ff5b6e515d6193a832b80e1f2 (patch)
tree70f95d9fd8ce913550dc6415927551e684a6f868 /createRandomStateTest.cpp
parent32d5c950401504e3591ad41ee93459730c1a9ad8 (diff)
parent9d734e03fd085a3cbd1a403bd63e51da19e165b5 (diff)
downloaddexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar.gz
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar.bz2
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar.lz
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar.xz
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.tar.zst
dexon-solidity-125ca1d2702da04ff5b6e515d6193a832b80e1f2.zip
Merge remote-tracking branch 'upstream/develop' into addTests
Conflicts: test/ttTransactionTestFiller.json
Diffstat (limited to 'createRandomStateTest.cpp')
-rw-r--r--createRandomStateTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/createRandomStateTest.cpp b/createRandomStateTest.cpp
index f422d171..5758598b 100644
--- a/createRandomStateTest.cpp
+++ b/createRandomStateTest.cpp
@@ -183,12 +183,11 @@ void doStateTests(json_spirit::mValue& _v)
test::ImportTest importer(o, true);
eth::State theState = importer.m_statePre;
- bytes tx = importer.m_transaction.rlp();
bytes output;
try
{
- output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), tx).output;
+ output = theState.execute(test::lastHashes(importer.m_environment.currentBlock.number), importer.m_transaction).output;
}
catch (Exception const& _e)
{