celo-org / celo-bls-snark-rs

Implements SNARK-friendly BLS signatures
https://celo.org
Apache License 2.0
83 stars 24 forks source link

feat: add round number to epoch encoding #200

Closed kobigurk closed 3 years ago

kobigurk commented 3 years ago

Description

To enable slashing on a single double signature rather than a quorum, we add the round number to the encoding. As a drive-by change, remove epoch entropy from the first epoch and parent entropy from the last epoch.

Tested

Modify tests.