File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
tests/core/pyspec/eth2spec/test/helpers/capella Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ class BeaconState(Container):
242242 current_sync_committee: SyncCommittee
243243 next_sync_committee: SyncCommittee
244244 # Execution
245- latest_execution_payload_header: ExecutionPayloadHeader
245+ latest_execution_payload_header: ExecutionPayloadHeader # [Modified in Capella]
246246 # Withdrawals
247247 next_withdrawal_index: WithdrawalIndex # [New in Capella]
248248 next_withdrawal_validator_index: ValidatorIndex # [New in Capella]
Original file line number Diff line number Diff line change @@ -29,14 +29,12 @@ def run_fork_test(post_spec, pre_state):
2929 'inactivity_scores' ,
3030 # Sync
3131 'current_sync_committee' , 'next_sync_committee' ,
32- # Execution
33- 'latest_execution_payload_header' ,
3432 ]
3533 for field in stable_fields :
3634 assert getattr (pre_state , field ) == getattr (post_state , field )
3735
3836 # Modified fields
39- modified_fields = ['fork' ]
37+ modified_fields = ['fork' , 'latest_execution_payload_header' ]
4038 for field in modified_fields :
4139 assert getattr (pre_state , field ) != getattr (post_state , field )
4240
You can’t perform that action at this time.
0 commit comments