diff --git a/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/prater.yaml b/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/prater.yaml index e9eef48f154..e144ab77607 100644 --- a/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/prater.yaml +++ b/ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/configs/prater.yaml @@ -2,7 +2,7 @@ PRESET_BASE: 'mainnet' # For backwards compatibility in the config/spec API -CONFIG_NAME: "goerli" +CONFIG_NAME: "prater" # Transition # --------------------------------------------------------------- diff --git a/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigLoaderTest.java b/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigLoaderTest.java index ae3bcf4262f..380f6418fd4 100644 --- a/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigLoaderTest.java +++ b/ethereum/spec/src/test/java/tech/pegasys/teku/spec/config/SpecConfigLoaderTest.java @@ -63,8 +63,7 @@ public void shouldLoadAllKnownNetworks(final String name, final Class configT @ValueSource(strings = {"prater", "mainnet"}) public void shouldMaintainConfigNameBackwardsCompatibility(final String name) { final SpecConfig config = SpecConfigLoader.loadConfig(name); - final String expectedName = name.equals("prater") ? "goerli" : name; - assertThat(config.getRawConfig().get("CONFIG_NAME")).isEqualTo(expectedName); + assertThat(config.getRawConfig().get("CONFIG_NAME")).isEqualTo(name); } @Test