Closed dmaretskyi closed 3 years ago
To reproduce:
I've traced the error to be on this line - https://github.com/dxos/halo/blob/main/packages/credentials/src/keys/keystore.ts#L74. The promise there never resolves.
As a reference a storybook in dxos/echo/echo-demo can be used, which has practically the same code, but works.
dxos/echo/echo-demo
Fixed my removing buggy process.nextTIck implementation:
https://github.com/dxos/sdk/commit/9bf0e6789b107eb1f0065cfe8219243fd0755637#diff-ef7c3e8f32284274351cdd677d5adf8444749e88b60f36a0a44930d0fe069d72L5
To reproduce:
I've traced the error to be on this line - https://github.com/dxos/halo/blob/main/packages/credentials/src/keys/keystore.ts#L74. The promise there never resolves.
As a reference a storybook in
dxos/echo/echo-demo
can be used, which has practically the same code, but works.