Think this is probably a duplicate of #64, but I'll describe in more detail here.
I have a pattern:
- client generates device
- device key sent to server
- server connects to pre-deployed acc contract
- server adds client device key as new account device
- server deploys this new device
- client should now be in a state where they are using a deployed device (after tx is mined)
What I notice, is that even when the tx is mined, the device (as seen by client) is not in the deployed state.
I also notice that after the server calls createAccountDevice, even if the client calls getConnectedAccounts, there are 0 accounts in the returned array.
I have worked around this by repeatedly calling getConnectedAccounts until I see what I expect, but this would be much simpler if there was some synchronicity.
Think this is probably a duplicate of #64, but I'll describe in more detail here.
I have a pattern:
What I notice, is that even when the tx is mined, the device (as seen by client) is not in the deployed state.
I also notice that after the server calls
createAccountDevice
, even if the client callsgetConnectedAccounts
, there are 0 accounts in the returned array.I have worked around this by repeatedly calling
getConnectedAccounts
until I see what I expect, but this would be much simpler if there was some synchronicity.