-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implement txn endorsing for IndyVdrLedger #852
Conversation
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Codecov Report
@@ Coverage Diff @@
## main #852 +/- ##
========================================
- Coverage 8.70% 8.69% -0.02%
========================================
Files 408 408
Lines 32868 32911 +43
Branches 7207 7215 +8
========================================
Hits 2861 2861
- Misses 29196 29239 +43
Partials 811 811
Flags with carried forward coverage won't be shown. Click here to find out more.
|
da84ec4
to
94b8c9b
Compare
e15f5a4
to
56640e6
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.
left review
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
56640e6
to
43a5b89
Compare
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
43a5b89
to
e7e8245
Compare
Ok(()) | ||
let mut request = self._build_schema_request(submitter_did, schema_json)?; | ||
request = _append_txn_author_agreement_to_request(request).await?; | ||
if let Some(endorser_did) = endorser_did { |
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 endorsing sequence is missing for other publish_*
methods, but I see that we don't even pass endorses_did Option in those. Okay, I guess that could be another github issue (perhaps even good-first-issue, should be fairly simple)
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 is just replicating the current vdrtools
implementation. They should behave identically and fixes like this should be done on both until we remove the vdrtools
one.
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.
lgtm
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa> # Conflicts: # aries_vcx_core/src/ledger/indy_vdr_ledger.rs
Implements
endorse_transaction
,set_endorser
andget_txn_author_agreement
forIndyVdrLedger
and enablestest_endorse_transaction
test.