Skip to content

Commit

Permalink
1545 Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Nov 6, 2024
1 parent f99e3a2 commit 111eaed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/tools/jsontests/BlockChainTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@ json_spirit::mObject fillBCTest( json_spirit::mObject const& _input ) {
}

output["blocks"] = blArray;
output["postState"] = fillJsonWithState(testChain.topBlock().state().createReadOnlySnapBasedCopy() );
output["postState"] = fillJsonWithState(testChain.topBlock().state() );
output["lastblockhash"] = toHexPrefixed( testChain.topBlock().blockHeader().hash( WithSeal ) );

// make all values hex in pre section
State prestate = State();
ImportTest::importState( _input.at( "pre" ).get_obj(), prestate );
output["pre"] = fillJsonWithState(prestate.createReadOnlySnapBasedCopy() );
output["pre"] = fillJsonWithState(prestate );

for ( auto iterator = chainMap.begin(); iterator != chainMap.end(); iterator++ )
delete iterator->second;
Expand Down Expand Up @@ -1026,7 +1026,6 @@ BOOST_AUTO_TEST_CASE( bcWalletTest,
BOOST_AUTO_TEST_CASE( bcForgedTest,
*boost::unit_test::precondition( dev::test::run_not_express ) ) {}
BOOST_AUTO_TEST_CASE( bcRandomBlockhashTest ) {}
BOOST_AUTO_TEST_CASE( bcExploitTest ) {}

BOOST_AUTO_TEST_SUITE_END()

Expand Down

0 comments on commit 111eaed

Please sign in to comment.