-
Notifications
You must be signed in to change notification settings - Fork 516
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
Fix: present-proof v1 send-proposal flow #1811
Conversation
shaangill025
commented
Jun 15, 2022
- resolve Prover mixes up thread_id in present-proof/send-proposal flow #1809
Signed-off-by: shaangill025 <[email protected]>
@etschelp -- can you test this with the problem you reported in #1809? Would like to get this merged and included in the release. And would REALLY like to get the release out :-). Thanks, @shaangill025 ! |
Ok, works again. What worries me though is that #1710 broke this because these lines were removed and now they have been added again, which raises two concerns:
I will also comment this on said PR so that Timo can chime in. |
It's unclear to me how this will fix the issue with the thread id? Also @etschelp, the code you commented on in my PR is not the same code that is being changed here. I changed the functionality because we don't always a connection id anymore (connectionless, or connection but not yet in record because of create-offer/create-request). Were you able to verify the thread id is incorrect? If that's the case I think we need to fix this in another way |
@TimoGlastra sorry, you are right, I'm totally confused now. All I know for sure is that if the holder starts with /send-proposal the thread id changes during the exchange leading to a storage error on the verifier side. This was introduced either with or around 1710. It works again with this PR. |
Earlier when initiated from proposal, |
Found the issue. I changed the As the dict wasn't being stored this wouldn't assign anything and it would generate a new thread_id. So it makes sense this fixes the issue edit: relevant code: fcb464c#diff-d6a966f1c3464ace4fe2f7ef483077f4f3f3fbf0ae58fcf0d8bb8a2507df853bR280 |