-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIP-0076: make aggregate proof type parameter an option, absent if not aggregating #934
Conversation
@@ -186,8 +186,8 @@ struct ProveCommitSectors3Params { | |||
// Aggregate proof for all sectors. | |||
// Exactly one of sector_proofs or aggregate_proof must be non-empty. | |||
AggregateProof: []byte, | |||
// The proof type for the aggregate proof (ignored if no aggregate proof). | |||
AggregateProofType: RegisteredAggregateProof, | |||
// The proof type for the aggregate proof (must be absent if no aggregate proof). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. Actually, this should probably say "must be null".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left this as a future-proof comment. It's true that today there must be no aggregate proof, but that's the true cause of the constraint.
…ProveReplicaUpdates3Params Ref: filecoin-project/FIPs#934
…ProveReplicaUpdates3Params Ref: filecoin-project/FIPs#934
…ProveReplicaUpdates3Params Ref: filecoin-project/FIPs#934
Implemented in filecoin-project/builtin-actors#1511