Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consistently handle network #215

Open
whoabuddy opened this issue Feb 7, 2025 · 2 comments
Open

consistently handle network #215

whoabuddy opened this issue Feb 7, 2025 · 2 comments

Comments

@whoabuddy
Copy link
Contributor

When testing on staging I see some inconsistencies in how we handle the network, we should be able to switch between mainnet/testnet without issue as that'll let us rapidly test new ideas.

  1. Staging login popup shows mainnet even though data used is testnet. There should be a param we can pass here for the network so it matches otherwise idk which testnet account I'm connecting.
    Image

  2. The address displayed still shows the mainnet address here, should match network / profile
    Image

@biwasbhandari
Copy link
Contributor

Shouldn't we manually need to switch to testnet/mainnet on the wallet? If I need to connect to testnet I should probably switch the network on wallet to testnet. That's what I've been doing till now.

@whoabuddy
Copy link
Contributor Author

Shouldn't we manually need to switch to testnet/mainnet on the wallet? If I need to connect to testnet I should probably switch the network on wallet to testnet. That's what I've been doing till now.

I did that - my wallet was logged in as testnet and I'm on staging site.

When I log in the wallet pop up shows mainnet info, but after I login profile shows my testnet address in the top-right and the profile page shows my mainnet address.

That's what I saw and recorded in the issue - can walk through and see if it happens again later but as a user shouldn't end up in that mixed state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants