-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update Synedrion usage to v0.0.12 #525
Conversation
@fjarri is attempting to deploy a commit to the entropyxyz Team on Vercel. A member of the Team first needs to authorize it. |
a860982
to
758d4e2
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
758d4e2
to
9050c65
Compare
I don't think it will resolve this issue completely, but i am planning to ditch |
3d53341
to
b124e4e
Compare
Not sure why the tests are not being run. |
b124e4e
to
33ae6a6
Compare
let mut accum = session.make_accumulator(); | ||
|
||
// Send out broadcasts | ||
let destinations = session.broadcast_destinations(); |
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.
Are broadcast destinations sometimes different on different rounds? As in, does this need to be called inside the round loop?
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.
Not at the moment, no. But compared to other parts of the loop it takes negligible time to generate that vector, and I didn't want to want to introduce additional state that the user needs to maintain. Moreover, with entropyxyz/synedrion#62 the broadcast part will go away anyway, there will only be direct messages left.
Cool! This also fixes #416 And if i've understood right, we no longer rely on array indexes to identify parties, so no more issues around ordering of account IDs. |
There is still some ordering exposed, since there is a fixed order of key shares in |
33ae6a6
to
62186bd
Compare
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.
Looks great. How did you get CI to run in your fork in the end?
62186bd
to
edfee83
Compare
synedrion
, not a branch with a fix #509Public
vsAccountId32
#376 is still open: even though we're usingPublicKey
instead ofPublic
now, the problem still stands: we haveAccountId32
andPublic
with identical contents.VerifierWrapper
was removed,PartyId
now implements the necessary traits directly.ProtocolMessage
does not make a distinction between broadcast and direct messages anymore, since our messaging is direct-only. There is still a distinction in the protocol execution loop, but it will be removed when message bundling is implemented (see Message bundling synedrion#62)protocol_transport/mod.rs
synedrion::sessions::Error::Local
).