filecoin-project / rust-fil-proofs

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

refactor: StackedCircuit only needs the number of layers #1732

Closed vmx closed 9 months ago

vmx commented 10 months ago

There's no need to store the full public parameters within the StackedCircuit struct, as it only needs the number of layers.

vmx commented 10 months ago

@DrPeterVanNostrand good point! I've created https://github.com/filecoin-project/rust-fil-proofs/pull/1735 as I'm not sure if that's what you meant and also not sure if we really want to do that.