Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
SunRunAway committed Jul 4, 2024
1 parent c02693b commit 608e85e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ public void shouldHaveCustomInitialStateFlagSetWhenSpecifyingInitialState() {
.applyNetworkDefaults(Eth2Network.MAINNET)
.customInitialState("/foo/bar")
.build();
assertThat(eth2NetworkConfig.getNetworkBootstrapConfig().getInitialState()).hasValue("/foo/bar");
assertThat(eth2NetworkConfig.getNetworkBootstrapConfig().getInitialState())
.hasValue("/foo/bar");
assertThat(eth2NetworkConfig.getNetworkBootstrapConfig().isUsingCustomInitialState()).isTrue();
}

Expand All @@ -182,7 +183,8 @@ public void shouldSetInitialStateAndGenesisStateWhenUsingCheckpointSyncUrl() {
.checkpointSyncUrl(checkpointSyncUrl)
.build();

final StateBootstrapConfig networkBootstrapConfig = eth2NetworkConfig.getNetworkBootstrapConfig();
final StateBootstrapConfig networkBootstrapConfig =
eth2NetworkConfig.getNetworkBootstrapConfig();
assertThat(networkBootstrapConfig.getInitialState())
.contains(checkpointSyncUrl + "/" + FINALIZED_STATE_URL_PATH);
assertThat(networkBootstrapConfig.getGenesisState())
Expand Down

0 comments on commit 608e85e

Please sign in to comment.