From ec831f1c991753f257cd1cbfc94e6a884a898449 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Sat, 21 Sep 2024 14:54:27 +0200 Subject: [PATCH 1/2] clean up config loading in light client tests (#6574) The consensus-spec-tests routinely add random experimental features to their config.yaml which can be ignored. --- .../test_fixture_light_client_data_collection.nim | 4 +--- tests/consensus_spec/test_fixture_light_client_sync.nim | 5 ----- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/consensus_spec/test_fixture_light_client_data_collection.nim b/tests/consensus_spec/test_fixture_light_client_data_collection.nim index e53ed7fe3..645b1a9bd 100644 --- a/tests/consensus_spec/test_fixture_light_client_data_collection.nim +++ b/tests/consensus_spec/test_fixture_light_client_data_collection.nim @@ -130,10 +130,8 @@ proc loadSteps( proc runTest(suiteName, path: string, consensusFork: static ConsensusFork) = let relativePathComponent = path.relativeTestPathComponent() test "Light client - Data collection - " & relativePathComponent: - let (cfg, unknowns) = readRuntimeConfig(path/"config.yaml") - doAssert unknowns.len == 0 - let + (cfg, _) = readRuntimeConfig(path/"config.yaml") initial_state = loadForkedState( path/"initial_state.ssz_snappy", consensusFork) db = BeaconChainDB.new("", cfg = cfg, inMemory = true) diff --git a/tests/consensus_spec/test_fixture_light_client_sync.nim b/tests/consensus_spec/test_fixture_light_client_sync.nim index 068d749e4..7b85ad784 100644 --- a/tests/consensus_spec/test_fixture_light_client_sync.nim +++ b/tests/consensus_spec/test_fixture_light_client_sync.nim @@ -134,11 +134,6 @@ proc runTest(suiteName, path: string) = Exception, IOError, PresetFileError, PresetIncompatibleError].} = let (cfg, _) = readRuntimeConfig(path/"config.yaml") - when false: - # TODO evaluate whether this is useful and if so, fix it - # Unhandled defect: nimbus-eth2/tests/consensus_spec/test_fixture_light_client_sync.nim(131, 16) `unknowns.len == 0` Unknown config constants: @["MAXIMUM_GOSSIP_CLOCK_DISPARITY", "ATTESTATION_PROPAGATION_SLOT_RANGE", "MAX_REQUEST_BLOCKS", "SUBNETS_PER_NODE", "TTFB_TIMEOUT", "MIN_EPOCHS_FOR_BLOCK_REQUESTS", "MESSAGE_DOMAIN_VALID_SNAPPY", "ATTESTATION_SUBNET_EXTRA_BITS", "MAX_CHUNK_SIZE", "EPOCHS_PER_SUBNET_SUBSCRIPTION", "GOSSIP_MAX_SIZE", "ATTESTATION_SUBNET_PREFIX_BITS", "MESSAGE_DOMAIN_INVALID_SNAPPY", "RESP_TIMEOUT"] [AssertionDefect] - doAssert unknowns.len == 0, "Unknown config constants: " & $unknowns - type TestMetaYaml {.sparse.} = object genesis_validators_root: string trusted_block_root: string From 3bf96a592315f11e2b71200ed28e038de7b9d5be Mon Sep 17 00:00:00 2001 From: tersec Date: Mon, 30 Sep 2024 03:14:58 +0000 Subject: [PATCH 2/2] version v24.9.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ beacon_chain/version.nim | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e49e395c..092e560ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +2024-09-30 v24.9.0 +================== + +Nimbus `v24.9.0` is a `low-urgency` release with beacon API improvements and stability fixes. + +### Improvements + +* Add support for getBlockRewards and getSyncCommitteeRewards beacon API endpoints: + https://github.com/status-im/nimbus-eth2/pull/6556 + +* Add support for publishAggregateAndProofsV2 beacon API endpoint: + https://github.com/status-im/nimbus-eth2/pull/6546 + +* Add support for getPoolAttestationsV2 beacon API endpoint: + https://github.com/status-im/nimbus-eth2/pull/6511 + +### Fixes + +* Web3signer always resolves DNS hostnames: + https://github.com/status-im/nimbus-eth2/pull/6567 + +* Avoid potential crash while initializing UPnP: + https://github.com/status-im/nimbus-eth2/pull/6538 + +* Fix missing field values in Deneb and Electra getBlindedBlock beacon API endpoint responses: + https://github.com/status-im/nimbus-eth2/pull/6569 + 2024-08-29 v24.8.0 ================== diff --git a/beacon_chain/version.nim b/beacon_chain/version.nim index 29dd9fcc6..1726c8834 100644 --- a/beacon_chain/version.nim +++ b/beacon_chain/version.nim @@ -18,7 +18,7 @@ const "Copyright (c) 2019-" & compileYear & " Status Research & Development GmbH" versionMajor* = 24 - versionMinor* = 8 + versionMinor* = 9 versionBuild* = 0 versionBlob* = "stateofus" # Single word - ends up in the default graffiti