From 0779f81e38fd98235a6deffa7c6ae0076d02b545 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Tue, 10 Feb 2015 08:35:18 +0100 Subject: start with test defined genesis block --- TestHelper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'TestHelper.h') diff --git a/TestHelper.h b/TestHelper.h index 344f61a3..9ac1f0d4 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -45,7 +45,7 @@ namespace test class ImportTest { public: - ImportTest() = default; + ImportTest(json_spirit::mObject& _o) : m_TestObject(_o) {} ImportTest(json_spirit::mObject& _o, bool isFiller); // imports @@ -53,6 +53,7 @@ public: void importState(json_spirit::mObject& _o, eth::State& _state); void importTransaction(json_spirit::mObject& _o); void exportTest(bytes _output, eth::State& _statePost); + std::map getStateMap(eth::State& _state){return _state.m_cache;} eth::State m_statePre; eth::State m_statePost; -- cgit