Skip to content

Commit

Permalink
Using json-based definitions for API methods by default (#6334)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassaldanha authored Oct 21, 2022
1 parent 02fd0a7 commit cd656f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class BeaconRestApiConfig {
public static final List<String> 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;
Expand Down

0 comments on commit cd656f4

Please sign in to comment.