Skip to content

Commit d20b21f

Browse files
committed
fix: rebase
1 parent 67ab712 commit d20b21f

File tree

1 file changed

+3
-0
lines changed
  • src/lean_spec/subspecs/containers/block

1 file changed

+3
-0
lines changed

src/lean_spec/subspecs/containers/block/block.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from typing import TYPE_CHECKING
1313

1414
from lean_spec.subspecs.containers.slot import Slot
15+
from lean_spec.subspecs.xmss.interface import TARGET_SIGNATURE_SCHEME, GeneralizedXmssScheme
1516
from lean_spec.types import Bytes32, Uint64
1617
from 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

0 commit comments

Comments
 (0)