-
Notifications
You must be signed in to change notification settings - Fork 33
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
client.keyStates().query()
does not work without sn
#184
Comments
Just as a recap of the short discussion in meeting: It would be useful to be able to query for the latest key state of an AID, without knowing the sequence number. |
From the dev meeting: |
I came across this problem when I was trying to do multisig delegated inception. I found that the delegatee needs to specify the precise sequence number of the delegating interaction event at which the delegatee's inception is anchored. Otherwise, the controllers of the delegatee could not find the interaction event and finish the |
The problem here appears to be with keripy and not KERIA.
Without
|
ksn is a notice of key state. Its up to the recipient of a ksn to decide to request an update key state via a replay of missing Key events. I don't think that logic to decide to request an update to key state in response to a KSN was ever implemented. But I could be wrong. |
Got it, that makes sense! I took another look and I can see that the The issue then I think seems to be number 2 in my list where the |
I am not sure if this is a feature or a bug. Currently,
client.keyStates().query(prefix, sn)
does not work if a sequence numbersn
is not specified.In Signify-TS,
sn
is optional, so I expect that a client should be able to query for the entire KEL of an AID without specifying a sequence number for a particular key event.The text was updated successfully, but these errors were encountered: