Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

recmo/kzg-ceremony-coordinator

Repository files navigation

KZG Ceremony Coordinator

lines of code dependency status codecov CI

Implements https://github.com/ethereum/kzg-ceremony-specs/

Hints

Lint, build, test, run

cargo fmt && cargo clippy --all-targets --all-features && cargo build --all-targets --all-features && cargo test --all-targets --all-features && cargo run --

Run benchmarks

cargo criterion
cargo test -- -Z unstable-options --report-time --show-output

To do

  • Group element deserializer.
  • Reduce allocations in group deserializer.
  • Group element serializer.
  • Contribution deserializer.
  • Use &str in contribution deserializer.
  • Move validation to shutdown-interruptable background compute task.
  • Validate either all or none potPubkeys.
  • Validate non-trivial potPubkeys.
  • Validate distinct potPubkeys in subContributions.
  • Validate distinct potPubkeys in transcript.
  • Contribution validate by pairing checks.
  • Contribution parallel validator.
  • Contribution serializer.
  • Contribution validator.
  • Separate out the core cryptography /contribution from queue, login and json schema validation.