-
Notifications
You must be signed in to change notification settings - Fork 7
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
Splitting to Multiple files and Optimizing #43
Conversation
@@ -15,15 +15,14 @@ jobs: | |||
runs-on: ubuntu-latest | |||
timeout-minutes: 30 | |||
steps: | |||
- uses: actions/checkout@v4 | |||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
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.
just moving to hash here to make it more safer.
It looks there are unused dependency in the PR, I found out by |
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.
overall, lgtm. But I will integrate hokulea with this library. And provide more feedbacks
&self, | ||
polynomial: &PolynomialEvalForm, | ||
index: u64, | ||
srs: &SRS, |
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.
interesting, so you are passing srs as an argument to the function. As opposed to having prover to hold it.
One advantage here is that in the application code, we can just have one srs, and instantiate multiple provers. @samlaf wdyt
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.
When you say "instantiate multiple provers", you mean "multiple KZG structs"? Problem seems to be that KZG struct holds a fixed sized expanded_roots_of_unity. Should we also pass that in then?
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.
To me, there is really not much difference, between storing a list of expanded_roots_of_unity, vs storing a list of kzg struct.
LGTM, hokulea is able to use the new interfaces, see |
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.
please address the test error
Addresses:
#36
#35