filecoin-project / rust-fil-proofs

Proofs for Filecoin in Rust
Other
489 stars 314 forks source link

refactor: get number of layers from private inputs #1735

Closed vmx closed 9 months ago

vmx commented 10 months ago

Instead of passing in the number of layers through the public params, get the number of layers from the private inputs that are required anyway. The number of layers equals the number of columns of a columns proof.


I first wasn't really convinced that it makes sense, but after seeing that now circuit() doesn't need the public params anymore it looks like a win to me.