aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.h
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-04-06 03:08:22 +0800
committerGav Wood <i@gavwood.com>2015-04-06 03:08:22 +0800
commit0dc70c63a9009aa5ccf2da99893a426a1d6db6d5 (patch)
treee2acdd90da4b8983ed2bcbcb802adc5a3eb350b0 /TestHelper.h
parent966407f28555d46bddfd76287198615ac1f5cc9b (diff)
downloaddexon-solidity-0dc70c63a9009aa5ccf2da99893a426a1d6db6d5.tar.gz
dexon-solidity-0dc70c63a9009aa5ccf2da99893a426a1d6db6d5.tar.zst
dexon-solidity-0dc70c63a9009aa5ccf2da99893a426a1d6db6d5.zip
Move hash to a hidden function, and provide a datapath to it so avoid
unneeded SHA3s.
Diffstat (limited to 'TestHelper.h')
-rw-r--r--TestHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.h b/TestHelper.h
index e5f96f51..7f6d7336 100644
--- a/TestHelper.h
+++ b/TestHelper.h
@@ -101,7 +101,7 @@ namespace test
class ImportTest
{
public:
- ImportTest(json_spirit::mObject& _o) : m_statePre(Address(), OverlayDB(), eth::BaseState::Empty), m_statePost(Address(), OverlayDB(), eth::BaseState::Empty), m_TestObject(_o) {}
+ ImportTest(json_spirit::mObject& _o): m_TestObject(_o) {}
ImportTest(json_spirit::mObject& _o, bool isFiller);
// imports
void importEnv(json_spirit::mObject& _o);