@ -266,7 +266,7 @@ public class WorldStateDownloaderTest {
// Check that all expected account data was downloaded
final WorldStateArchive localWorldStateArchive =
new DefaultWorldStateArchive ( localStorage , createPreimageStorage ( ) ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertThat ( result ) . isDone ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;
}
@ -335,7 +335,7 @@ public class WorldStateDownloaderTest {
// Check that all expected account data was downloaded
final WorldStateArchive localWorldStateArchive =
new DefaultWorldStateArchive ( localStorage , createPreimageStorage ( ) ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertThat ( result ) . isDone ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;
}
@ -501,7 +501,7 @@ public class WorldStateDownloaderTest {
// Check that all expected account data was downloaded
final WorldStateArchive localWorldStateArchive =
new DefaultWorldStateArchive ( localStorage , createPreimageStorage ( ) ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertThat ( result ) . isDone ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;
}
@ -600,7 +600,7 @@ public class WorldStateDownloaderTest {
// Check that all expected account data was downloaded
final WorldStateArchive localWorldStateArchive =
new DefaultWorldStateArchive ( localStorage , createPreimageStorage ( ) ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertThat ( result ) . isDone ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;
}
@ -732,7 +732,7 @@ public class WorldStateDownloaderTest {
assertThat ( result ) . isDone ( ) ;
final WorldStateArchive localWorldStateArchive =
new DefaultWorldStateArchive ( localStorage , createPreimageStorage ( ) ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;
}
@ -875,7 +875,7 @@ public class WorldStateDownloaderTest {
}
// Check that all expected account data was downloaded
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot ) . get ( ) ;
final WorldState localWorldState = localWorldStateArchive . get ( stateRoot , null ) . get ( ) ;
assertThat ( result ) . isDone ( ) ;
assertAccountsMatch ( localWorldState , accounts ) ;