From fa162329249a0adf9e3d6609460f86fa70c3b4db Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Fri, 3 Jan 2025 03:40:53 -0600 Subject: [PATCH] Electra: Update spec definition for process_epoch (#14768) * Electra: Review process_epoch * Update CHANGELOG.md --- CHANGELOG.md | 1 + beacon-chain/core/electra/transition.go | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05dbeb4075..99f157c71a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ The format is based on Keep a Changelog, and this project adheres to Semantic Ve - Limit consolidating by validator's effective balance. - Use 16-bit random value for proposer and sync committee selection filter. - Re-organize the content of the `*.proto` files (No functional change). +- Updated Electra spec definition for `process_epoch`. ### Deprecated diff --git a/beacon-chain/core/electra/transition.go b/beacon-chain/core/electra/transition.go index c67d308e45..2a9f8a3580 100644 --- a/beacon-chain/core/electra/transition.go +++ b/beacon-chain/core/electra/transition.go @@ -40,14 +40,17 @@ var ( // process_justification_and_finalization(state) // process_inactivity_updates(state) // process_rewards_and_penalties(state) -// process_registry_updates(state) -// process_slashings(state) +// process_registry_updates(state) # [Modified in Electra:EIP7251] +// process_slashings(state) # [Modified in Electra:EIP7251] // process_eth1_data_reset(state) -// process_pending_deposits(state) # New in EIP7251 -// process_pending_consolidations(state) # New in EIP7251 -// process_effective_balance_updates(state) +// process_pending_deposits(state) # [New in Electra:EIP7251] +// process_pending_consolidations(state) # [New in Electra:EIP7251] +// process_effective_balance_updates(state) # [Modified in Electra:EIP7251] // process_slashings_reset(state) // process_randao_mixes_reset(state) +// process_historical_summaries_update(state) +// process_participation_flag_updates(state) +// process_sync_committee_updates(state) func ProcessEpoch(ctx context.Context, state state.BeaconState) error { _, span := trace.StartSpan(ctx, "electra.ProcessEpoch") defer span.End()