akash-network / akash-network/console

UserWallets['address'] is nullable in db

Open
#1,487 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tech-debt
Dominant language
TypeScript
Stars
264
Forks
94
Avg merge
18h 49m
Merged PRs (30d)
297

Description

What

Investigate whether type in db reflects the actual business case and UserWallet['address'] can be nullable in db. If not, we need to update it because we have quite a lot of userWallet.address! around the code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the UserWallets/UserWallet database definition and reviewing the code paths that use userWallet.address!. Confirm whether the business case permits a missing address; if it does not, align the database type and affected usages, then validate the resulting type checks and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
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.