Skip to content
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

Refactoring and improvments #896

Merged
merged 7 commits into from
Aug 11, 2023
Merged

Refactoring and improvments #896

merged 7 commits into from
Aug 11, 2023

Conversation

aslesarenko
Copy link
Member

@aslesarenko aslesarenko commented Jul 28, 2023

In this PR:

@aslesarenko aslesarenko marked this pull request as draft July 28, 2023 16:45
@aslesarenko aslesarenko marked this pull request as ready for review August 2, 2023 16:30
@aslesarenko aslesarenko requested a review from kushti August 2, 2023 16:30
@aslesarenko aslesarenko changed the base branch from v5.0.10-RC to v5.0.11-RC August 8, 2023 20:00
@aslesarenko aslesarenko linked an issue Aug 9, 2023 that may be closed by this pull request
@aslesarenko aslesarenko linked an issue Aug 9, 2023 that may be closed by this pull request
*/
trait SigmaProofOfKnowledgeLeaf[SP <: SigmaProtocol[SP], S <: SigmaProtocolPrivateInput[SP, _]]
extends SigmaBoolean with SigmaProtocolCommonInput[SP]
trait SigmaLeaf extends SigmaBoolean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not to eliminate SigmaLeaf, what it is encoding?

Copy link
Member Author

@aslesarenko aslesarenko Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It plays the same role as SigmaConjecture. It used in prover to distinguish leafs from other nodes and have logic common to leaves regardless of the concrete leaf type.
Improved ScalaDoc.

@aslesarenko aslesarenko merged commit b81849e into v5.0.11-RC Aug 11, 2023
4 checks passed
@aslesarenko aslesarenko deleted the refactoring branch September 5, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated changelogs and other specs Remove ScriptCostLimit
2 participants