Skip to content

Commit

Permalink
restore BeaconNodeCommandTest test
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Oct 31, 2023
1 parent c03cd42 commit 76b5726
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,15 @@ public void shouldParseDenebEpochsStoreBlobs() {
assertThat(specConfigDeneb.getEpochsStoreBlobs()).isEqualTo(12345);
}

@Test
public void shouldHaveTrustedSetupConfiguredForDeneb() {
final String[] args = {XDENEB_FORK_EPOCH_OPTION, "200000"};
beaconNodeCommand.parse(args);
final Optional<String> trustedSetup =
beaconNodeCommand.tekuConfiguration().eth2NetworkConfiguration().getTrustedSetup();
assertThat(trustedSetup).isPresent();
}

private Path createConfigFile() throws IOException {
final URL configFile = BeaconNodeCommandTest.class.getResource("/complete_config.yaml");
final String updatedConfig =
Expand Down

0 comments on commit 76b5726

Please sign in to comment.