diff --git a/test/libethereum/blockchain.cpp b/test/libethereum/blockchain.cpp index aed4ddf82..0188951b2 100644 --- a/test/libethereum/blockchain.cpp +++ b/test/libethereum/blockchain.cpp @@ -132,9 +132,8 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin) TransientDirectory td_stateDB; FullBlockChain bc(rlpGenesisBlock.out(), AccountMap(), td_bc.path(), WithExisting::Kill); - OverlayDB database (State::openDB(td_stateDB.path(), h256{}, WithExisting::Kill)); - State state(database, BaseState::Empty); - state = importer.m_statePre; + //OverlayDB database (State::openDB(td_stateDB.path(), h256{}, WithExisting::Kill)); + State state = importer.m_statePre; state.commit(); //import previous blocks @@ -210,7 +209,6 @@ void doBlockchainTests(json_spirit::mValue& _v, bool _fillin) return; } - blObj["rlp"] = toHex(block.blockData(), 2, HexPrefix::Add); //get valid transactions