bitshares / bitshares/bitshares-ui
Direct debit spotlight create authorization component crashes
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
When I click 'create authorization' within the withdraw permission spotlight page it crashes.
**To Reproduce**
Go to the direct debit page: https://bts.exchange/#/direct-debit
Click 'create authorization' button 2 times.
**Expected behavior**
Dialog launches without problem.
**Additional context**
Errors:
ReferenceError: assignment to undeclared variable balance_fee
BindToChainState(t) ReferenceError: assignment to undeclared variable balance_fee
Also ocurring in the light client.
looking on kibana seems the last direct debit create operation 25 was june 5th 2023 so it's likely been broken for almost 2 years now.
Contributor guide
Research direction
Start by reproducing the crash from the Direct Debit page at https://bts.exchange/#/direct-debit, using the “create authorization” button twice. Trace the operation that raises the `balance_fee` ReferenceError, including the light client path; done means the authorization dialog launches reliably in both contexts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- blockchain, frontend, payments
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100