Skip to content

Commit

Permalink
#1870 fix tests after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Jan 13, 2025
1 parent 242b97b commit 075bf07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unittests/libethereum/StateUnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ BOOST_AUTO_TEST_CASE( LoadAccountCode ) {


BOOST_AUTO_TEST_CASE( addressesReturnsAllAddresses ) {
state.createReadOnlyStateDBSnap( 0 );
State sr = state.createReadOnlySnapBasedCopy();
#ifdef HISTORIC_STATE
sr.mutableHistoricState().setRootFromDB();
Expand Down Expand Up @@ -126,6 +127,7 @@ BOOST_AUTO_TEST_CASE( addressesReturnsAllAddresses ) {

BOOST_AUTO_TEST_CASE( addressesReturnsNoMoreThanRequested ) {
uint maxResults = 3;
state.createReadOnlyStateDBSnap( 0 );
State sr = state.createReadOnlySnapBasedCopy();
#ifdef HISTORIC_STATE
sr.mutableHistoricState().setRootFromDB();
Expand Down

0 comments on commit 075bf07

Please sign in to comment.