@@ -87,7 +87,7 @@ def beacon_attestation_validator(msg_forwarder: ID, msg: rpc_pb2.Message) -> boo
87
87
state_machine = chain .get_state_machine ()
88
88
89
89
try :
90
- validate_beacon_block (chain , attestation )
90
+ validate_voting_beacon_block (chain , attestation )
91
91
validate_attestation_signature (
92
92
state ,
93
93
attestation ,
@@ -125,7 +125,7 @@ def committee_index_beacon_attestation_validator(
125
125
try :
126
126
validate_subnet_id (attestation , subnet_id )
127
127
validate_is_unaggregated (attestation )
128
- validate_beacon_block (chain , attestation )
128
+ validate_voting_beacon_block (chain , attestation )
129
129
validate_attestation_propagation_slot_range (
130
130
state ,
131
131
attestation ,
@@ -163,7 +163,7 @@ def beacon_aggregate_and_proof_validator(msg_forwarder: ID, msg: rpc_pb2.Message
163
163
attestation = aggregate_and_proof .aggregate
164
164
165
165
try :
166
- validate_beacon_block (chain , attestation )
166
+ validate_voting_beacon_block (chain , attestation )
167
167
run_validate_aggregate_and_proof (
168
168
state ,
169
169
aggregate_and_proof ,
@@ -229,7 +229,7 @@ def validate_is_unaggregated(attestation: Attestation) -> None:
229
229
return False
230
230
231
231
232
- def validate_beacon_block (chain : BaseBeaconChain , attestation : Attestation ) -> None :
232
+ def validate_voting_beacon_block (chain : BaseBeaconChain , attestation : Attestation ) -> None :
233
233
# Check that beacon blocks attested to by the attestation are validated
234
234
try :
235
235
chain .get_block_by_root (attestation .data .beacon_block_root )
0 commit comments