ipfs-shipyard / ipfs-shipyard/pm-idm

Investigate why `createIdmWallet` blocks the event loop for some time

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
backend code debt frontend task
Dominant language
No language data
Stars
64
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Description

Investigate why `createIdmWallet` blocks the event loop for some time. I've noticed this after I've implemented https://github.com/ipfs-shipyard/pm-idm/issues/148, where the loader breaks.

I suspect this has to do with IPFS. If that's the case, we might want to try using the service-worker-gateway, which runs a node in a separate thread.

## Acceptance Criteria

- [ ] Investigate why why `createIdmWallet` blocks the event loop for some time and act accordingly

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing and profiling createIdmWallet while reproducing the loader failure described in issue #148. Determine whether IPFS is blocking the event loop, then follow the findings toward an appropriate change such as the service-worker-gateway; the issue is done when the cause is established and the resulting action is addressed.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.