-
Notifications
You must be signed in to change notification settings - Fork 87
Remove dependence of aries module on VcxStateType #314
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
Conversation
Signed-off-by: Miroslav Kovar <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #314 +/- ##
==========================================
+ Coverage 49.72% 49.77% +0.04%
==========================================
Files 156 156
Lines 19634 19651 +17
Branches 6205 6199 -6
==========================================
+ Hits 9763 9781 +18
- Misses 5070 5074 +4
+ Partials 4801 4796 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Miroslav Kovar <[email protected]>
Signed-off-by: Miroslav Kovar <[email protected]>
249b63e to
bda18f2
Compare
Signed-off-by: Miroslav Kovar <[email protected]>
bda18f2 to
03cd4e5
Compare
|
@mirgee the failing tests seem to indicate that the state mapping is a bit off somewhere |
Signed-off-by: Miroslav Kovar <[email protected]>
0287e2d to
838d8e6
Compare
Signed-off-by: Miroslav Kovar <[email protected]>
Signed-off-by: Miroslav Kovar <[email protected]>
Patrik-Stas
left a comment
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.
Minor changes requested, overally love it! 👍
ff74561 to
0e2815b
Compare
Signed-off-by: Miroslav Kovar <[email protected]>
0e2815b to
0fdbe5b
Compare
Patrik-Stas
left a comment
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.
I think it's important for readibility of the code consuming this wrapper to return Struct/Enums from TS function returning state representation (getState, updateState)
Signed-off-by: Miroslav Kovar <[email protected]>
Signed-off-by: Miroslav Kovar <[email protected]>
Signed-off-by: Miroslav Kovar <[email protected]>
Signed-off-by: Miroslav Kovar <[email protected]>
This PR adds new enums representing current state of
IssuerSM,HolderSM,ProverSMandVerifierSM:IssuerState,HolderState,ProverStateandVerifierStaterespectively. Functionget_state()returns variants of said enums on the internalarieslevel, and these are converted to numeric representations on the C-callable level.Wrapper now exports enums representing these states in place of
StateType:IssuerStateType,HolderStateType,VerifierStateType,IssuerStateType,ConnectionStateType.This is a breaking change, since the variant representations corresponding to the states returned by
get_state()function has changed, as well as the numeric representations. For the numeric values, see here, and for the changes toget_state()return values, see corresponding implementations for each of the concerned SMs.Signed-off-by: Miroslav Kovar [email protected]