-
Notifications
You must be signed in to change notification settings - Fork 76
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
Relay entry BLS verification #605
Conversation
596a9ed
to
5970005
Compare
@ngrinkevich How do we look here? Is it ready for review/testing? |
@pdyraga it is yeah |
d73cf7f
to
9534fee
Compare
On-chain verification expects compressed G1 point due gas optimization.
383c0df
to
24b3cbc
Compare
This number should match the number of the polynomial coefficients created at the beginning of the DKG protocol.
24b3cbc
to
8c32122
Compare
|
||
// Initialize Keep Group contract | ||
minimumStake = 200000; | ||
groupThreshold = 15; | ||
groupSize = 20; | ||
timeoutInitial = 20; | ||
timeoutSubmission = 40; | ||
timeoutSubmission = 50; |
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.
Why did we have to increase this value?
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.
this was the tweak to make group selection work on initialize in js tests, irrelevant now since I'm removing runGroupSelection
from initialize
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.
So can we switch it back to 40
? This should speed up the tests.
Two comments that still need to be addressed but we can do it in a followup PR:
|
I tested it on my local environment:
|
Closes:#31
Add verification to make sure that the resulting
groupSignature
was produced by the specifiedgroupPubKey
for the correspondingpreviousEntry