aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-04 00:53:29 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-04 00:53:29 +0800
commitc931e3ceec902c31734fe6e7143a209d7637611f (patch)
tree5cbdae45a37d3104e8c3d1567f1ab75a107010e9 /state.cpp
parent72c7132a3af9836c34b350fa295e34959bacce87 (diff)
downloaddexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar.gz
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar.bz2
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar.lz
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar.xz
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.tar.zst
dexon-solidity-c931e3ceec902c31734fe6e7143a209d7637611f.zip
style
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/state.cpp b/state.cpp
index e3a91a3a..3a81821e 100644
--- a/state.cpp
+++ b/state.cpp
@@ -55,7 +55,7 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
BOOST_REQUIRE(o.count("pre") > 0);
BOOST_REQUIRE(o.count("transaction") > 0);
- ImportTest importer(o,_fillin);
+ ImportTest importer(o, _fillin);
if (_fillin)
{
@@ -64,20 +64,9 @@ void doStateTests(json_spirit::mValue& v, bool _fillin)
}
State theState = importer.m_statePre;
-
bytes tx = importer.m_transaction.rlp();
-
bytes output;
- // check
-
- for (auto const& a: theState.addresses())
- {
- cout << "address: " << a.first << endl;
- cout << "balance: " << theState.balance(a.first) << endl;
- cout << "has code: " << theState.addressHasCode(a.first) << endl;
- }
-
try
{
theState.execute(tx, &output);