Skip to content
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

PR for endorser support to update endpoints on ledger. #1616

Conversation

HarshMultani-AyanWorks
Copy link
Contributor

This is a PR that contains logic which would enable the endpoint to get updated on ledger after the endorser has signed the transaction.

The endpoints that have undergone changes are :
1.) /wallet/set-did-endpoint
2.) /wallet/did/public

These are in the /aries_cloudagent/wallet/routes.py file.

After the endpoint is updated on the ledger, it also gets updated in the wallet. The call to update it in the wallet is not included in this code, but would be implemented soon.

Taking Latest changes done till EOD 02/11/2021
Taking latest pull done till EOD 30/11/2021
Taking latest changes done till EOD 09 / 01 / 2022
Taking latest changes done till EOD 31/Jan/22
…get updated on ledger after endorsement from an endorser.

Signed-off-by: Harsh Multani <harsh1multani@gmail.com>
Signed-off-by: Harsh Multani <harsh1multani@gmail.com>
@@ -886,7 +886,12 @@ async def get_endpoint_for_did(
return address
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to make these same changes in the indy_vdr.py version of the ledger

(this is enabled when you use --wallet-type askar)

@@ -705,6 +705,8 @@ async def set_did_endpoint(
endpoint: str,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to make these same changes in the askar.py version of the ledger

(this is enabled when you use --wallet-type askar)

@ianco
Copy link
Contributor

ianco commented Mar 28, 2022

Replaced bt PR #1696

@ianco ianco closed this Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants