diff --git a/teku/src/test/java/tech/pegasys/teku/cli/BeaconNodeCommandTest.java b/teku/src/test/java/tech/pegasys/teku/cli/BeaconNodeCommandTest.java index 623edc75281..4165c909101 100644 --- a/teku/src/test/java/tech/pegasys/teku/cli/BeaconNodeCommandTest.java +++ b/teku/src/test/java/tech/pegasys/teku/cli/BeaconNodeCommandTest.java @@ -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 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 =