Manta-Network / manta-rs

Rust Crates for the Manta Network Ecosystem

Home Page:https://github.com/Manta-Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clumsy `Ceremony` implementation for `Config`

SupremoUGH opened this issue · comments

The struct Config in defined manta-trusted-setup::groth16::ceremony::config::ppot as a wrapper over a SignatureScheme is a very clumsy way to implement the Ceremony trait. Probably we should switch from
Ceremony: Configuration + SignatureScheme
to
Ceremony: Configuration { type Signer: SignatureScheme}
to remove the duplicate code.

Originally posted by @bhgomes in #257 (review)