Skip to content

Commit

Permalink
Merge pull request ethereum#2466 from terencechain/patch-123
Browse files Browse the repository at this point in the history
Altair: missing `block_root` in `SyncCommitteeSignature`
  • Loading branch information
djrtwo authored Jun 2, 2021
2 parents 79f919e + 45a71eb commit b3f2635
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion specs/altair/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,12 @@ def get_sync_committee_signature(state: BeaconState,
signing_root = compute_signing_root(block_root, domain)
signature = bls.Sign(privkey, signing_root)

return SyncCommitteeSignature(slot=state.slot, validator_index=validator_index, signature=signature)
return SyncCommitteeSignature(
slot=state.slot,
beacon_block_root=block_root,
validator_index=validator_index,
signature=signature,
)
```

##### Broadcast sync committee signature
Expand Down

0 comments on commit b3f2635

Please sign in to comment.