-
Notifications
You must be signed in to change notification settings - Fork 515
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
PR for endorser support to update endpoints on ledger. #1616
Conversation
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 |
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'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, |
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'll need to make these same changes in the askar.py version of the ledger
(this is enabled when you use --wallet-type askar
)
Replaced bt PR #1696 |
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.