diff --git a/CHANGELOG.md b/CHANGELOG.md index 07828f1da..27db3fdec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +2021-10-04 v1.5.1 +================= + +Nimbus `v1.5.1` is a `high-urgency` release for all users who have already upgraded to `v1.5.0`. It fixes a deposit contract syncing issue manifesting as the warning message "Eth1 chain not synced". Under specific circumstances, such a failure to sync the Eth1 chain may result in missed Eth2 block proposals, so affected users are advised to upgrade as soon as possible. + +For anyone still running Nimbus v1.4.x or earlier, migrating to v1.5.1 continues to be a `medium-urgency` but *mandatory* upgrade that must be installed **before October 27th**. + + 2021-10-04 v1.5.0 ================= diff --git a/beacon_chain/eth1/eth1_monitor.nim b/beacon_chain/eth1/eth1_monitor.nim index 49f386e9a..25848b7c9 100644 --- a/beacon_chain/eth1/eth1_monitor.nim +++ b/beacon_chain/eth1/eth1_monitor.nim @@ -12,7 +12,7 @@ import typetraits, uri, json], # Nimble packages: chronos, json, metrics, chronicles/timings, - web3, web3/ethtypes as web3Types, web3/ethhexstrings, web3/engine_api, + web3, web3/ethtypes as web3Types, web3/ethhexstrings, eth/common/eth_types, eth/async_utils, stew/byteutils, # Local modules: @@ -422,6 +422,13 @@ proc executePayload*(p: Web3DataProviderRef, payload: engine_api.ExecutionPayload): Future[ExecutePayloadResponse] = p.web3.provider.engine_executePayload(payload) +proc consensusValidated*(p: Web3DataProviderRef, + blockHash: BlockHash, + status: BlockValidationStatus): Future[JsonNode] = + p.web3.provider.engine_consensusValidated(BlockValidationResult( + blockHash: blockHash, + status: $status)) + proc forkchoiceUpdated*(p: Web3DataProviderRef, headBlock, finalizedBlock: Eth2Digest): Future[JsonNode] = p.web3.provider.engine_forkchoiceUpdated(ForkChoiceUpdate( diff --git a/beacon_chain/version.nim b/beacon_chain/version.nim index d60b2886e..41c684132 100644 --- a/beacon_chain/version.nim +++ b/beacon_chain/version.nim @@ -15,7 +15,7 @@ when not defined(nimscript): const versionMajor* = 1 versionMinor* = 5 - versionBuild* = 0 + versionBuild* = 1 versionBlob* = "stateofus" # Single word - ends up in the default graffitti diff --git a/vendor/nim-web3 b/vendor/nim-web3 index 9a23474af..97e05aea6 160000 --- a/vendor/nim-web3 +++ b/vendor/nim-web3 @@ -1 +1 @@ -Subproject commit 9a23474afb7e2a14798ec0bf0e69e96cd5895e55 +Subproject commit 97e05aea6573d2630e318e7777a54d95db6ec40e