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 30, 2023
1 parent 57ce074 commit a28e46e
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 a28e46e

Please sign in to comment.