File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/lean_spec/subspecs/containers/block Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1212from typing import TYPE_CHECKING
1313
1414from lean_spec .subspecs .containers .slot import Slot
15+ from lean_spec .subspecs .xmss .interface import TARGET_SIGNATURE_SCHEME , GeneralizedXmssScheme
1516from lean_spec .types import Bytes32 , Uint64
1617from lean_spec .types .container import Container
1718
@@ -192,6 +193,7 @@ def verify_signatures(
192193 validator .get_pubkey (),
193194 aggregated_attestation .data .slot ,
194195 attestation_root ,
196+ scheme ,
195197 ), "Attestation signature verification failed"
196198
197199 # Verify proposer attestation signature
@@ -206,6 +208,7 @@ def verify_signatures(
206208 proposer .get_pubkey (),
207209 proposer_attestation .data .slot ,
208210 proposer_attestation .data .data_root_bytes (),
211+ scheme ,
209212 ), "Proposer signature verification failed"
210213
211214 return True
You can’t perform that action at this time.
0 commit comments