@@ -18,7 +18,7 @@ export chronos, client, rest_types, eth2_rest_serialization
1818proc registerValidator * (body: seq [SignedValidatorRegistrationV1 ]
1919 ): RestPlainResponse {.
2020 rest , endpoint : " /eth/v1/builder/validators" ,
21- meth : MethodPost .}
21+ meth : MethodPost , connection : { Dedicated , Close } .}
2222 # # https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/validators.yaml
2323 # # https://github.com/ethereum/beacon-APIs/blob/master/apis/validator/register_validator.yaml
2424
@@ -27,16 +27,16 @@ proc getHeader*(slot: Slot,
2727 pubkey: ValidatorPubKey
2828 ): RestResponse [GetHeaderResponse ] {.
2929 rest , endpoint : " /eth/v1/builder/header/{slot}/{parent_hash}/{pubkey}" ,
30- meth : MethodGet .}
30+ meth : MethodGet , connection : { Dedicated , Close } .}
3131 # # https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/header.yaml
3232
3333proc submitBlindedBlock * (body: SignedBlindedBeaconBlock
3434 ): RestResponse [SubmitBlindedBlockResponse ] {.
3535 rest , endpoint : " /eth/v1/builder/blinded_blocks" ,
36- meth : MethodPost .}
36+ meth : MethodPost , connection : { Dedicated , Close } .}
3737 # # https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/blinded_blocks.yaml
3838
3939proc checkBuilderStatus * (): RestPlainResponse {.
4040 rest , endpoint : " /eth/v1/builder/status" ,
41- meth : MethodGet .}
41+ meth : MethodGet , connection : { Dedicated , Close } .}
4242 # # https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/status.yaml
0 commit comments