diff --git a/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/AbstractDataBackedRestAPIIntegrationTest.java b/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/AbstractDataBackedRestAPIIntegrationTest.java index 826392595d5..679cdfd66cb 100644 --- a/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/AbstractDataBackedRestAPIIntegrationTest.java +++ b/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/AbstractDataBackedRestAPIIntegrationTest.java @@ -96,6 +96,7 @@ public abstract class AbstractDataBackedRestAPIIntegrationTest { .restApiCorsAllowedOrigins(new ArrayList<>()) .beaconLivenessTrackingEnabled(true) .eth1DepositContractAddress(Eth1Address.ZERO) + .enableMigratedRestApi(false) .build(); private static final BeaconRestApiConfig MIGRATED_CONFIG = BeaconRestApiConfig.builder() diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiConfig.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiConfig.java index 156951fdb57..5fbea9efaf6 100644 --- a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiConfig.java +++ b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiConfig.java @@ -31,7 +31,7 @@ public class BeaconRestApiConfig { public static final List DEFAULT_REST_API_CORS_ALLOWED_ORIGINS = new ArrayList<>(); public static final boolean DEFAULT_BEACON_LIVENESS_TRACKING_ENABLED = false; public static final int DEFAULT_SUBSCRIBE_THREADS_COUNT = 1; - public static final boolean DEFAULT_ENABLE_MIGRATED_BEACON_REST_API = false; + public static final boolean DEFAULT_ENABLE_MIGRATED_BEACON_REST_API = true; // Beacon REST API private final int restApiPort;