From 2471d2dd671c14b59ad5c41107b0372828ea8b76 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:03:06 +0100 Subject: [PATCH 1/5] Update sync_committee_msg_pool.nim --- .../consensus_object_pools/sync_committee_msg_pool.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/consensus_object_pools/sync_committee_msg_pool.nim b/beacon_chain/consensus_object_pools/sync_committee_msg_pool.nim index 26bdbe18a2..e4a63f422b 100644 --- a/beacon_chain/consensus_object_pools/sync_committee_msg_pool.nim +++ b/beacon_chain/consensus_object_pools/sync_committee_msg_pool.nim @@ -1,5 +1,5 @@ # beacon_chain -# Copyright (c) 2018-2024 Status Research & Development GmbH +# Copyright (c) 2018-2025 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -23,7 +23,7 @@ logScope: const syncCommitteeMsgsRetentionSlots = 3 ## How many slots to retain sync committee - ## messsages before discarding them. + ## messages before discarding them. type SyncCommitteeMsgKey = object From 7087737e29ab9819350853526e6eab608d91b48d Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:03:42 +0100 Subject: [PATCH 2/5] Update blockchain_dag.nim --- beacon_chain/consensus_object_pools/blockchain_dag.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/consensus_object_pools/blockchain_dag.nim b/beacon_chain/consensus_object_pools/blockchain_dag.nim index 369560b921..aebabb80fa 100644 --- a/beacon_chain/consensus_object_pools/blockchain_dag.nim +++ b/beacon_chain/consensus_object_pools/blockchain_dag.nim @@ -500,7 +500,7 @@ func epochAncestor(dag: ChainDAGRef, bid: BlockId, epoch: Epoch): Opt[BlockSlotId] = ## The epoch ancestor is the last block that has an effect on the epoch- ## related state data, as updated in `process_epoch` - this block determines - ## effective balances, validator addtions and removals etc and serves as a + ## effective balances, validator additions and removals etc and serves as a ## base for `EpochRef` construction. if epoch < dag.tail.slot.epoch or bid.slot < dag.tail.slot: # Not enough information in database to meaningfully process pre-tail epochs From 3239d697520dbc2f16b91c67abfff80f663a9ebc Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:05:56 +0100 Subject: [PATCH 3/5] Update el_manager.nim --- beacon_chain/el/el_manager.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/el/el_manager.nim b/beacon_chain/el/el_manager.nim index c5c2e3c93c..6c8e8b1d5e 100644 --- a/beacon_chain/el/el_manager.nim +++ b/beacon_chain/el/el_manager.nim @@ -178,7 +178,7 @@ type web3: Opt[Web3] ## This will be `none` before connecting and while we are - ## reconnecting after a lost connetion. You can wait on + ## reconnecting after a lost connection. You can wait on ## the future below for the moment the connection is active. connectingFut: Future[Result[Web3, string]].Raising([CancelledError]) From 6aa9fbec904b057042a938ce6439c6c4eacdf2e7 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:07:38 +0100 Subject: [PATCH 4/5] Update eth2_rest_serialization.nim --- beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim b/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim index 3c02d54b70..b44ec9658a 100644 --- a/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim +++ b/beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim @@ -3053,7 +3053,7 @@ proc decodeBody*( var res = RestJson.decode(body.data, blckType, requireAllFields = true, allowUnknownFields = true) - when compiles(res.signed_block.messsage): + when compiles(res.signed_block.message): {.error: "Deneb and later forks handled in case statement".} else: RestPublishedSignedBlockContents.init( From 7925e9ad3d855a163bc165963c84cdd87f9cbf75 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sun, 2 Feb 2025 18:08:33 +0100 Subject: [PATCH 5/5] Update electra_preset.nim --- beacon_chain/spec/presets/gnosis/electra_preset.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/spec/presets/gnosis/electra_preset.nim b/beacon_chain/spec/presets/gnosis/electra_preset.nim index 7c57c9a1bc..90a7810d9f 100644 --- a/beacon_chain/spec/presets/gnosis/electra_preset.nim +++ b/beacon_chain/spec/presets/gnosis/electra_preset.nim @@ -1,5 +1,5 @@ # beacon_chain -# Copyright (c) 2024 Status Research & Development GmbH +# Copyright (c) 2025 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -7,7 +7,7 @@ {.push raises: [].} -# Gnosis preset - Electra (Gnosis version not avilable yet; EF mainnet for now) +# Gnosis preset - Electra (Gnosis version not available yet; EF mainnet for now) # https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.9/presets/mainnet/electra.yaml const # Gwei values