@@ -428,7 +428,7 @@ def participants_filter(comm):
428428 target_slot = spec .compute_start_slot_at_epoch (current_epoch + 1 )
429429
430430 while state .slot < target_slot :
431- # Produce block if the proposer is among participanting validators
431+ # Produce block if the proposer is among participating validators
432432 proposer = spec .get_beacon_proposer_index (state )
433433 if state .slot > spec .GENESIS_SLOT and proposer in branch_tip .participants :
434434 signed_block , state , attestations , _ , _ = produce_block (spec , state , attestations )
@@ -652,7 +652,7 @@ def yield_fork_choice_test_events(spec, test_data: FCTestData, test_events: list
652652
653653 test_steps = []
654654
655- def try_add_mesage (runner , message ):
655+ def try_add_message (runner , message ):
656656 try :
657657 runner (spec , store , message , valid = True )
658658 return True
@@ -685,27 +685,27 @@ def try_add_mesage(runner, message):
685685 elif event_kind == "attestation" :
686686 _ , attestation , valid = event
687687 if valid is None :
688- valid = try_add_mesage (run_on_attestation , attestation )
688+ valid = try_add_message (run_on_attestation , attestation )
689689 yield from add_attestation (spec , store , attestation , test_steps , valid = valid )
690690 output_store_checks (spec , store , test_steps )
691691 elif event_kind == "attester_slashing" :
692692 _ , attester_slashing , valid = event
693693 if valid is None :
694- valid = try_add_mesage (run_on_attester_slashing , attester_slashing )
694+ valid = try_add_message (run_on_attester_slashing , attester_slashing )
695695 yield from add_attester_slashing (
696696 spec , store , attester_slashing , test_steps , valid = valid
697697 )
698698 output_store_checks (spec , store , test_steps )
699699 elif event_kind == "execution_payload" :
700700 _ , signed_envelope , valid = event
701701 if valid is None :
702- valid = try_add_mesage (run_on_execution_payload_envelope , signed_envelope )
702+ valid = try_add_message (run_on_execution_payload_envelope , signed_envelope )
703703 yield from add_execution_payload (spec , store , signed_envelope , test_steps , valid = valid )
704704 output_store_checks (spec , store , test_steps )
705705 elif event_kind == "payload_attestation" :
706706 _ , ptc_message , valid = event
707707 if valid is None :
708- valid = try_add_mesage (run_on_payload_attestation_message , ptc_message )
708+ valid = try_add_message (run_on_payload_attestation_message , ptc_message )
709709 yield from add_payload_attestation_message (
710710 spec , store , ptc_message , test_steps , valid = valid
711711 )
0 commit comments