bitshares / bitshares/bitshares-ui

Streamline updateGatewayBackers usage

Open
#2,484 1 comment 1 reaction 0 assignees View on GitHub
[1c] Task [3] Enhancement
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

Investigate usage of updateGatewayBackers
- ensure it is only called once, and only called lazily if the user accesses gateway functionality (button in exchange, deposit- or withdraw modal)
- ensure it is called when error in gateway appears that could be resolved with calling it again (e.g. gateway down)

Contributor guide

Open the contributing guide

Research direction

Search the JavaScript/React codebase for updateGatewayBackers and its callers, especially the exchange button and deposit or withdraw modals. Trace gateway-error handling and verify that calls are lazy, occur only once when appropriate, and can be retried for recoverable gateway failures. Done means all relevant call paths follow those rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Refactor
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.