Skip to content

Commit

Permalink
Remove experimental from blockV3 API (Consensys#8016)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr authored Feb 26, 2024
1 parent 917beea commit 3313717
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"get" : {
"tags" : [ "Experimental" ],
"tags" : [ "Validator", "Validator Required Api" ],
"operationId" : "produceBlockV3",
"summary" : "Produce a new block, without signature",
"description" : "Requests a beacon node to produce a valid block, which can then be signed by a validator. The\nreturned block may be blinded or unblinded, depending on the current state of the network as\ndecided by the execution and beacon nodes.\nThe beacon node must return an unblinded block if it obtains the execution payload from its\npaired execution node. It must only return a blinded block if it obtains the execution payload\nheader from an MEV relay.\nMetadata in the response indicates the type of block produced, and the supported types of block\nwill be added to as forks progress.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.HEADER_EXECUTION_PAYLOAD_BLINDED;
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.HEADER_EXECUTION_PAYLOAD_VALUE;
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.SLOT_PATH_DESCRIPTION;
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.TAG_EXPERIMENTAL;
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.TAG_VALIDATOR;
import static tech.pegasys.teku.infrastructure.http.RestApiConstants.TAG_VALIDATOR_REQUIRED;
import static tech.pegasys.teku.infrastructure.json.types.CoreTypes.BOOLEAN_TYPE;
import static tech.pegasys.teku.infrastructure.json.types.CoreTypes.UINT256_TYPE;

Expand Down Expand Up @@ -90,7 +91,7 @@ private static EndpointMetadata getEndpointMetaData(
+ "header from an MEV relay.\n"
+ "Metadata in the response indicates the type of block produced, and the supported types of block\n"
+ "will be added to as forks progress.")
.tags(TAG_EXPERIMENTAL)
.tags(TAG_VALIDATOR, TAG_VALIDATOR_REQUIRED)
.pathParam(SLOT_PARAMETER.withDescription(SLOT_PATH_DESCRIPTION))
.queryParamRequired(RANDAO_PARAMETER)
.queryParam(GRAFFITI_PARAMETER)
Expand Down

0 comments on commit 3313717

Please sign in to comment.