Merge branch 'stable' into unstable

This commit is contained in:
Zahary Karadjov 2022-10-14 22:24:55 +03:00
commit 89582c10db
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
4 changed files with 10 additions and 13 deletions

View File

@ -1,4 +1,4 @@
2022-10-13 v22.10.1
2022-10-14 v22.10.1
===================
Nimbus `v22.10.1` is a `low-urgency` point release introducing support for the official light client REST API and improving the stability of Nimbus when paired with an external block builder.
@ -13,11 +13,10 @@ Nimbus `v22.10.1` is a `low-urgency` point release introducing support for the o
### Fixes:
* Nimbus was slowly leaking file descriptors when paired with an external builder:
https://github.com/status-im/nim-chronos/pull/323
https://github.com/status-im/nimbus-eth2/pull/4235
* Nimbus could potentially crash under a poor network connectivity to an external builder:
https://github.com/status-im/nimbus-eth2/pull/4222
* Nimbus could potentially crash under a poor network connectivity to the external builder:
https://github.com/status-im/nimbus-eth2/pull/4222
2022-10-03 v22.10.0

View File

@ -710,9 +710,7 @@ proc init*(T: type BeaconNode,
let payloadBuilderRestClient =
if config.payloadBuilderEnable:
RestClientRef.new(
config.payloadBuilderUrl,
httpFlags = {HttpClientFlag.NewConnectionAlways}).valueOr:
RestClientRef.new(config.payloadBuilderUrl).valueOr:
warn "Payload builder REST client setup failed",
payloadBuilderUrl = config.payloadBuilderUrl
nil

View File

@ -18,7 +18,7 @@ export chronos, client, rest_types, eth2_rest_serialization
proc registerValidator*(body: seq[SignedValidatorRegistrationV1]
): RestPlainResponse {.
rest, endpoint: "/eth/v1/builder/validators",
meth: MethodPost.}
meth: MethodPost, connection: {Dedicated, Close}.}
## https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/validators.yaml
## https://github.com/ethereum/beacon-APIs/blob/master/apis/validator/register_validator.yaml
@ -27,16 +27,16 @@ proc getHeader*(slot: Slot,
pubkey: ValidatorPubKey
): RestResponse[GetHeaderResponse] {.
rest, endpoint: "/eth/v1/builder/header/{slot}/{parent_hash}/{pubkey}",
meth: MethodGet.}
meth: MethodGet, connection: {Dedicated, Close}.}
## https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/header.yaml
proc submitBlindedBlock*(body: SignedBlindedBeaconBlock
): RestResponse[SubmitBlindedBlockResponse] {.
rest, endpoint: "/eth/v1/builder/blinded_blocks",
meth: MethodPost.}
meth: MethodPost, connection: {Dedicated, Close}.}
## https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/blinded_blocks.yaml
proc checkBuilderStatus*(): RestPlainResponse {.
rest, endpoint: "/eth/v1/builder/status",
meth: MethodGet.}
meth: MethodGet, connection: {Dedicated, Close}.}
## https://github.com/ethereum/builder-specs/blob/v0.2.0/apis/builder/status.yaml

2
vendor/nim-presto vendored

@ -1 +1 @@
Subproject commit 545849eebe62f1e0c747d93ea330562be6d44455
Subproject commit 8bc34dd6f60b6bfe22049323100355671e4137a2