-
Notifications
You must be signed in to change notification settings - Fork 83
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
Purge vdrtools #1013
Purge vdrtools #1013
Conversation
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #1013 +/- ##
==========================================
+ Coverage 30.49% 35.96% +5.46%
==========================================
Files 419 372 -47
Lines 25967 21745 -4222
Branches 5015 4016 -999
==========================================
- Hits 7918 7820 -98
+ Misses 15869 11763 -4106
+ Partials 2180 2162 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
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.
Having further look, I think there's more to be cleaned up
- I think we should be able to drop off some cargo dependencies in vdrtools directories
- there seems to be more stuff to delete in
src/domain/anoncreds
- I'd suggest to delete
vdrtool2credx
migration- this would get our workspace ursa-free, which if I remember right, was major source of pain with askar addtion and sqlx update
- I believe
signature_serializer.rs
can be dropped and alsoHash
inindy-utils
. Perhaps there's more stuff to delete inindy-utils
. Openssl dependency can be removed. mac.build.sh
can be deleted
Aaah right, I forgot about the dependencies! I'll work on that.
@Patrik-Stas Do you mean to delete the |
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
@Patrik-Stas I removed some more code and updated/tweaked dependencies. For the other things:
|
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
well, not necessarily the entire crate as it could be used for credx2anoncreds-rs or something similar, but given we have released |
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
As discussed, we'll keep the data types around for a while longer just for the |
@gmulhearn if all looks good, feel free to merge |
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
modular_libs = ["dep:indy-credx"] | ||
vdr_proxy_ledger = ["modular_libs", "dep:indy-vdr-proxy-client"] | ||
credx = ["dep:indy-credx"] | ||
vdr_proxy_ledger = ["credx", "dep:indy-vdr-proxy-client"] |
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.
general question that doesn't need to be answered here: does vdr_proxy_ledger
(i.e. where VdrProxySubmitter
is the core component) actually need the credx
feature?
You guys know this part of the code best, but it seems like the only reason vdr_proxy_ledger
needs credx
is because vdr_proxy_ledger
is being used to hide the VdrProxyProfile
implementation, which depends on IndyCredxAnonCreds
(and IndySdkWallet
too actually (vdrtools_wallet
?)). I wonder if logically VdrProxyProfile
should be hidden by credx
AND vdr_proxy_ledger
rather than making vdr_proxy_ledger
always depend on credx
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 guess it's a matter of perspective about whether the primary "feature" of vdr_proxy_ledger
is the VdrProxySubmitter
AND VdrProxyProfile
, or if it's just the VdrProxySubmitter
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.
Idk. @mirgee worked on this. Any insights? I just replaced the underlying implementation being used in the VdrProxyProfile
since we're deprecating libvdrtools
.
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.
ye no worries, just a passing comment
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
Signed-off-by: Bogdan Mircea <mirceapetrebogdan@gmail.com>
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.
nice, good stuff!
Attempts to remove all unnecessary code from
libvdrtools
, keeping only the wallet and the anoncreds data structures definitions (for thewallet_migrator
crate to use).Additionally, removed lint exemption and fixed lints in the crate while also removing the
migration
andvdrtools/vdrtools_anoncreds
feature flags fromaries_vcx
andaries_vcx_core
.Lastly, dependencies have been updated and tweaked. Of particular notice are
sqlx
which was bumped to the latest version (0.7.1
) andzeroize
which was bumped to the latest version (1.6.0
).