bitshares / bitshares/bitshares-ui

Unable to switch to testnet faucet

Open
#3,269 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**

When connected to a testnet API node, the faucet is still the mainnet one, thus unable to create accounts on testnet.

**To Reproduce**
Go to https://staging.bitshares.org/ , then follow the steps in the screenshots.

**Expected behavior**

If connected to a testnet API node, the faucet for testnet should be used.

**Screenshots**

![image](https://user-images.githubusercontent.com/9946777/86472855-208eaf80-bd40-11ea-850b-539c6ee4915c.png)

![image](https://user-images.githubusercontent.com/9946777/86473099-9266f900-bd40-11ea-8820-0bfd88257671.png)

![image](https://user-images.githubusercontent.com/9946777/86472172-099b8d80-bd3f-11ea-85ce-05fc2448d0ca.png)

![image](https://user-images.githubusercontent.com/9946777/86471735-37cc9d80-bd3e-11ea-8ad3-b9e33eb677a0.png)

In web dev console:
![image](https://user-images.githubusercontent.com/9946777/86473355-0d301400-bd41-11ea-8bd9-c50da7b96ee8.png)

Code:
![image](https://user-images.githubusercontent.com/9946777/86473487-436d9380-bd41-11ea-9e65-9f99ed270f66.png)

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue at https://staging.bitshares.org/ while connected to a testnet API node, using the screenshots and browser console output as the starting evidence. Trace the faucet selection and network-switching entry points in the web app; done means the testnet faucet is selected for testnet connections and account creation works there without breaking mainnet behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.