-
Notifications
You must be signed in to change notification settings - Fork 38
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
Can't Update States As Can't Find Accounts #65
Comments
This isn't a bug. I've checked out out your code and run it. The test is failing because you are not sharing the lender (bank) key with the borrow (agent). Or rather.. the agent is not storing a mapping of the new key generated by the bank node to the bank node's x500name. It was useful to look at your code and see where we can make accounts easier to use. I'll make some changes to the code and maybe it'll be easier for you in the future so you won't run into these mistakes. Cheers |
It's also worth noting that the lender |
Can you clarify in the docs what the ShareAccountInfoWithParty does and doesn't do.
I expected that this would be enough to share the lender with the agent. I subsequently found this comment in another demo from a few months ago:
Quite clearly, it is easy to forget to do this extra flow, so now I am doing this at the end of the issue flow:
Is this the right way to do it? |
You are right - the usability could be improved. However, this is just a V1 so I guess we won't get it 100% right the first time. I'm going to see what I can do to improve this before the release. Thanks |
Thinking about this a little, maybe what we need is a version of the |
That sounds like it should work. |
Hi all, I am also facing this kind of issue with the project I am currently working on. Is there any available solution for this? |
You need to share the account infos |
I can create a state using accounts but I can't subsequently update that state in a different flow.
The account cannot be found in the second flow even though it was found in the first flow.
See this repo for code demonstrating the issue.
The text was updated successfully, but these errors were encountered: