-
Notifications
You must be signed in to change notification settings - Fork 31
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
Agent of delegator cannot resolve oobi of a delegate #230
Comments
From our keri dev meeting: |
Noting some potentially helpful activity regarding delegation/non-local/misfit info: |
Confirmed that the delegator is escrowing the dip event as a Misfit as part of the delegation approval/anchoring exchange. It seems the escrow of the misfit dip key event prevents the contact from being created and so the oobi cid doesn't retrieve the key state for the delegate. I checked to see if any Keripy tests exercise the exception and none seem to trigger a non-local delegation scenario. |
Interestingly the dip is received by the deleGATOR automatically on creation of the deleGATE identifier. I asked about it on discord and got some additional information to consider regarding delegation/witness thresholding: |
deleGATE keria agent Anchorer (in delegating) sends the msg keria/src/keria/app/delegating.py Line 66 in 5bdc473
I'll look to see how the misfit escrow is processed. It looks like there should be a 'promotion' process that should lead to misfit escrow processing, which i'm guessing is currently broken. |
Phil is making some changes to keripy for delegation. There will also be changes to KERIA https://discord.com/channels/1148629222647148624/1148734044545228831/1241438394207309844 |
Phil has merged Keripy delegation fixes to reverse the order to check witness receipts and then check delegation approval. As well as some additional changes https://github.com/WebOfTrust/keripy/pull/784/files |
Phils changes allowed us to progress past the Misfit exception. But the delegation fails in the same way, this time it appears the delegation escrow isn't being processed once the delegation was confirmed with an ixn. More infor here https://discord.com/channels/1148629222647148624/1148734044545228831/1241881199102922752 |
Good discussions this morning with Phil to identify the ideal fix. We are also discussing it in the community meeting today. https://discord.com/channels/1148629222647148624/1148734044545228831/1242475776813830234 |
@pfeairheller is going to work on a delegable processor for KERIA and submit a PR |
Summary of changes that are being tested/reviewed: |
KERIA PR submitted but it's failing on a KERIpy error |
See initial draft PR here: WebOfTrust/signify-ts#252, which is PR for using dev version of keria in sigts. I will inline the problem description here in this issue:
I found that there is a problem when an agent that contains a delegator tries to resolve an oobi for its delegatee. See the added steps in
delegation.test.ts
for a reproduction. The effects of this is that you cannot create a "contact" for the delegate, which means you cannot send an IPEX message to the delegate. This is needed for doing IPEX grant from GLEIF External to the QVI.To reproduce this behaviour:
To explain what happens
After step 7, X nevers gets the AID of the delegator in its contact list. The oobi longrunning operation resolves with
Which only happens here:
keria/src/keria/core/longrunning.py
Lines 235 to 239 in 7ee5ba8
Update: I have tried running the same tests using keria:latest and it works there.
The text was updated successfully, but these errors were encountered: