patch tests
This commit is contained in:
parent
09b6fb0e64
commit
cfc66a3794
|
@ -44,7 +44,7 @@
|
|||
- [Block processing](#block-processing)
|
||||
- [Modified `process_attestation`](#modified-process_attestation)
|
||||
- [Modified `process_deposit`](#modified-process_deposit)
|
||||
- [Sync committee processing](#sync-committee-processing)
|
||||
- [Sync aggregate processing](#sync-aggregate-processing)
|
||||
- [Epoch processing](#epoch-processing)
|
||||
- [Justification and finalization](#justification-and-finalization)
|
||||
- [Inactivity scores](#inactivity-scores)
|
||||
|
|
|
@ -32,7 +32,7 @@ def run_sync_committee_processing(spec, state, block, expect_exception=False):
|
|||
produces a pre-state and post-state (None if exception) specifically for sync-committee processing changes.
|
||||
"""
|
||||
# process up to the sync committee work
|
||||
call = run_block_processing_to(spec, state, block, 'process_sync_committee')
|
||||
call = run_block_processing_to(spec, state, block, 'process_sync_aggregate')
|
||||
yield 'pre', state
|
||||
yield 'sync_aggregate', block.body.sync_aggregate
|
||||
if expect_exception:
|
||||
|
|
|
@ -25,8 +25,8 @@ def get_process_calls(spec):
|
|||
'process_voluntary_exit':
|
||||
lambda state, block: for_ops(state, block.body.voluntary_exits, spec.process_voluntary_exit),
|
||||
# Altair
|
||||
'process_sync_committee':
|
||||
lambda state, block: spec.process_sync_committee(state, block.body.sync_aggregate),
|
||||
'process_sync_aggregate':
|
||||
lambda state, block: spec.process_sync_aggregate(state, block.body.sync_aggregate),
|
||||
# Merge
|
||||
'process_application_payload':
|
||||
lambda state, block: spec.process_application_payload(state, block.body),
|
||||
|
|
Loading…
Reference in New Issue