-
Notifications
You must be signed in to change notification settings - Fork 32
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
Multisig grant and admit messages and fixes in seqner #133
Multisig grant and admit messages and fixes in seqner #133
Conversation
Codecov Report
@@ Coverage Diff @@
## development #133 +/- ##
===============================================
+ Coverage 80.94% 80.97% +0.02%
===============================================
Files 42 42
Lines 4173 4178 +5
Branches 1028 1028
===============================================
+ Hits 3378 3383 +5
Misses 763 763
Partials 32 32
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
@@ -197,7 +105,7 @@ async function run() { | |||
// First member start the creation of a multisig identifier | |||
let rstates = [aid1['state'], aid2['state'], aid3['state']]; |
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 three clients are hosted on different machines, or even on different shells, they will not be able to directly obtain other clients' states directly like in this examples.
I suggest adding client.keyStates().get(...)
for each client to obtain other clients' states.
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.
You are correct, in a real scenario you should keep track of the states independently.
This PR replaces PR #124. It adds examples on the integration script
multisig.ts
showing how to passgrant
andadmit
messages between a multisig issuer and a single sig holder.It also fixed a serialization error on the seqner and holder that used little endian instead of big endian. Test results were validated against tests in
keripy