bcgov / bcgov/traction

Fix multi-ledger switching and assign existing posted DID as public

Open
#833 2 comments 0 reactions 0 assignees View on GitHub
pinned
Dominant language
TypeScript
Stars
62
Forks
59
Avg merge
1d 11h
Merged PRs (30d)
5

Description

Follow up on #790
- Fix and enable ledger switching [currently, it errors out]
- Right now, when switching the ledger it creates a new sub-wallet DID and assigns that as public DID. This is not ideal, if there is an existing DID posted on that ledger using tenant-ui then it assigns that existing DID as public DID instead of creating a new one.

Contributor guide

Open the contributing guide

Research direction

Start with the context in issue #790 and reproduce the current multi-ledger switching error. Trace the ledger-switching flow and DID assignment behavior; done means switching succeeds and an existing DID posted on the selected ledger through tenant-ui is used as the public DID instead of creating a new sub-wallet DID.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.