respond even in not-yet-supported Deneb beacon+builder API case in REST server (#5628)
This commit is contained in:
parent
bbf4551ff9
commit
af0b36f2e7
|
@ -524,7 +524,8 @@ proc installValidatorApiHandlers*(router: var RestRouter, node: BeaconNode) =
|
||||||
# TODO
|
# TODO
|
||||||
# We should return a block with sidecars here
|
# We should return a block with sidecars here
|
||||||
# https://github.com/ethereum/beacon-APIs/pull/302/files
|
# https://github.com/ethereum/beacon-APIs/pull/302/files
|
||||||
debugRaiseAssert $denebImplementationMissing & ": GET /eth/v1/validator/blinded_blocks/{slot}"
|
return RestApiResponse.jsonError(
|
||||||
|
Http400, "Deneb builder API beacon API not yet supported: " & $denebImplementationMissing)
|
||||||
of ConsensusFork.Capella:
|
of ConsensusFork.Capella:
|
||||||
let res = await makeBlindedBeaconBlockForHeadAndSlot[
|
let res = await makeBlindedBeaconBlockForHeadAndSlot[
|
||||||
capella_mev.BlindedBeaconBlock](
|
capella_mev.BlindedBeaconBlock](
|
||||||
|
|
Loading…
Reference in New Issue